As far as searching goes, i was unable to find an up-to-date list of supported browsers for watir.
I've just upgraded firefox to version 18, and while at it, also update the watir-webdriver version to it's latest (by using gem update watir-webdriver
).
So far i've encountered one issue, that i cant seem to find a solution for.
When i try to check if an element exist, lets say by using $browser.a(:href, "#{$url}/admin/").exists?
(The $url
variable is defined to the main url of my testing server, so it's not the problem. Furthermore, even when i replace the variable with the actual address, i still encounter the same issue), I always get a timeout error when the element does not exists.
When the element does exists, i will get an instant response of true
. So the timeout issue only happens when the element does not exists.
So my questions are:
- Is there a way to make the
.exists?
method work? - Does anyone know any other issues like that with the latest version of Firefox(V. 18)?
- I would really appreciate if someone can point me to an updated list of watir supported browsers. Preferably a list that is being updated on a regular basis.
P.S,
I did see that someone posted a question about the present?
method, i have no idea of it's related, but nonetheless, i still have no solution. I'd hate to downgrade to a previous version of ff.
Thanks a bunch to anyone who will be willing to help,
Kind regards, Asaf.