Hi, I got one issue to click the link element after scrolling the page. Here is the code.
*link1 [email protected](:text, "123") * *y= link1.wd.location[:y]* *@driver.execute_script("scroll(0, #{y-150})")* *link1.click* While debugging, I found that *link1.visible?* is false after executing javascript, but the link can been seen on the page. After scrolling, link1.click pops up one error - "Webdriver:Element is not currently visible and so may not be interacted with." Please help me here. "cucumber", "1.2.1" "watir-webdriver", "0.6.1" "selenium-webdriver", "2.29.0" Thanks, Charles -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
