Your HTML and code snippets would help us see what is going on. In general you cannot interact with elements that are hidden (not visible). This may be occurring for a few reasons: - element is hidden (or positioned off the screen) by CSS styles or JavaScript - your selector found a different element matching your selector, and this element is hidden
On 2011-08-31, at 12:06 AM, Amit Bobade wrote: > Hi, > > > I am getting following error while running my script on FF. > > `WebDriverError': Element is not currently visible and so may not be > interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError) > > I am using Ruby187 and Watir-webdriver. > > Could someone tell me why this error is occuring? > > -- > Thanks and Regards, > Amit > > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
