Maybe something like: browser.text_field(:id, 'id').visible?
http://wtr.rubyforge.org/rdoc/classes/Watir/Element.html#M000318 Hope that helps. On Sep 21, 1:31 pm, ravi <[email protected]> wrote: > I have a situation > > I have a text box which pops up when I select a option from a > selectlist above it, otherwise is is not visible on the screen > > if I use the command available in watir > > eval(browser.field).should_not exist ------------- it fails > > if i say should exist -----------it passes > > I think it is in the dom > can you suggest me any options > > Thanx in advance > > regards > ravi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
