Working with iframes is approached differently in selenium & Watir.
In Selenium you are responsible for explicitly switching into and out of
the context you want:
driver.switch_to.frame('iframe1')
driver.find_element(id: 'element_inside_frame').click
driver.switch_to.default_content
driver.find_el
Nothing in the Ruby bindings have a hard coded 60 second timeout.
Increasing the http_client timeout does in fact affect things. Selenium
also now supports setting `open_timeout` and `read_timeout` independently.
If you think there is a problem with the code (Watir or Selenium), you are
welcome
I have reported this problem long time ago but you haven't given too much
attention to me. The problem is, the below code only applicable for
b.goto '' not for every button click. So this is wrong! Button click waits
for 60 seconds to load but this 60 seconds is hard-coded inside selenium
ruby
But why this difficulty while I use in WATIR? Selenium is allowing me to
access without any these kind of trouble. WATIR should eases that the
selenium coding, but here it makes it difficult.
On Friday, July 28, 2017 at 8:20:51 PM UTC+5:30, Titus Fortner wrote:
>
> Watir should now only send th
Show us the code you are using and tell us what isn't working the way you
expect.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googleg
Hi,
Recently I faced an problem which caused timeout issue Net::ReadTimeout
(Net::ReadTimeout)
And I found some related infomation in selenium which refer to this
document https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings
Internal timeouts
Internally, WebDriver uses HTTP to communicat
Watir should now only send the null value to the frame endpoint if the element
in question is inside an iframe. So this could make sense. You need to include
the iframe definition as a parent object whenever defining elements inside of
it.
--
--
Before posting, please read http://watir.com/su