If I start again, should I start with Watir-WebDriver?

My team has an automation solution that uses watir. In fact, we have two versions, one for one version of our software and another for another version. I believe that changing versions of watir has not been easy to use, so I want to choose the right version for my new project (creating a research structure such as Jim Knowlton on the Watir Podcast # 30 website).

Our product supports IE and Firefox. It may support other browsers in the future, such as Chrome or Safari. Most interface technologies are supported by watir, although we created a webdriver environment to have better access to attributes.

So, I think Watir Webdriver may be the best choice for me today. Not taking advantage of it, or even looking at other people with it, I'm just not sure that it is ready. What do you think?

+4
source share
3 answers

I am considering watir-webdriver with the Firefox driver, ready for use at the moment, with some notable exceptions:

Having a stable and easy-to-use Firefox driver is my # 1 priority, so I haven’t spent much time testing IE, Chrome or HtmlUnit (remote).

The results of our spec package ( watir2 watirspec branch) should give a good idea of ​​how well browsers are supported:

  • Firefox : transfer: 94%, total time: 201 seconds.
  • Chrome : transfer: 89%, total time: 1207 seconds.
  • IE : transfer: 83%, total time: 2238 seconds.
+5
source

Please check the extension watir-webdriver alerts.rb just do

require "watir-webdriver/extensions/alerts" alert do #...code that launches an alert box... end confirm true do #...code that launches confirm box... end 

Blocks even return a confirmation / warning field if you want to verify this. Thank you Jari

+2
source

I used it and it is very good. I used only the Firefox driver to make this explicit. I tried IE and Chrome drivers and both are not as good as FF.

+1
source

Source: https://habr.com/ru/post/1316311/


All Articles