This seems to work for me.
Use send keys :end to drive the browser scroll to the bottom of the page
Reference: #
http://watir-techniques.blogspot.com/2013/02/scroll-down-using-sendkeys-space.html
ie = Watir::Browser.new( :chrome)
ie.window.maximize()
Deepak -- I tried your suggestion when running into the same problem. I
only had the issue in Firefox and not IE, so I tried in firefox and it now
worked correctly, but broke IE "undefined method 'value' for :click:Symbol"
On Friday, June 3, 2016 at 9:14:11 AM UTC-5, Deepak Subudhi wrote:
>
>
please use @browser.element.fire_event :click
On Tuesday, 19 April 2016 16:38:52 UTC+5:30, Awesome Possum wrote:
>
> I am trying to automate tests in Ruby using the latest Watir-Webdriver
> 0.9.1, Selenium-Webdriver 2.53.0 and Chrome extension 2.21. However the
> website that I am testing has
On Tuesday, April 19, 2016 at 4:08:52 AM UTC-7, Awesome Possum wrote:
>
> Hence the question are 1) Why does Watir throw an exception 'Element not
> clickable' even when the element is visible and present? See ruby code ( I
> have picked a random company website for an example) and the results
Consider something like this.
browser.link(text: "Full website").parent.click
Ref:
http://stackoverflow.com/questions/19251356/how-to-access-the-following-link-element-using-watir
On Tuesday, April 19, 2016 at 6:08:52 AM UTC-5, Awesome Possum wrote:
>
> I am trying to automate tests in Ruby
It is practically impossible to always calculate exactly how to
automatically scroll a website such that the desired element is not hidden
by static objects overlaid on top.
Use watir-scroll to help you - https://github.com/p0deje/watir-scroll
Titus
On Tuesday, April 19, 2016 at 4:08:52 AM