5 votes
Accepted

What are the differences between capybara and watir

Watir is Object Oriented while capybara is domain specific. Capybara is simple to use, quick to deploy but maintenance will be an issue over time. Watir needs overhead to develop its page ...
Yu Zhang's user avatar
  • 9,942
3 votes

Under what circumstances is Sikuli better for test automation than Selenium or Watir?

Here some points about sikuli I have discovered: Sikuli can not select by 100% text match. So it is extremely difficult to use it in financial applications cause there are not too many different GUI ...
Ivan Gerasimenko's user avatar
2 votes

What are the differences between capybara and watir

I have asked similar question here on watir Github: What are known reasons to use watir not capybara? You may find something useful there.
Nakilon's user avatar
  • 178
1 vote

How can i read http response of a complete page including all web elements in watir?I need the data of Headers

Watir is powered by Selenium WebDriver, which doesn't have a proxy built-in to do this sort of thing. A few suggestions are made over on SO. In the past (working in C#) I was able to use the Fiddler ...
kirbycope's user avatar
  • 4,090
1 vote

How do I configure my env.rb file to be able to switch browsers?

At the end of each scenario, you should be quitting the driver instance during teardown: $driver.quit
Sam Woods's user avatar
  • 8,569
1 vote
Accepted

Problems with escaping the equals sign in a Watir Robot argument

${NeededString}= Fetch From Right ${FullStringWithEQUALSSign} \= Print ${NeededString} This will fetch the string to the right of the equals sign. Assumption here that there is only one ...
Srinivas dasari's user avatar
1 vote
Accepted

Watir can't click on an element but can on irb

Finally I managed to click on it. What happened is that the button wasn't directly visible when it did the click so the error pop up. And with watir alone was extremely dificult but I manage to scroll ...
user25268's user avatar
1 vote

How to click on a link with dynamic href with cucumber watir?

You can use xpath to find the element based on the part of the href you know //a[contains(@href,'api/users/confirm-register/')]
Jsmith2800's user avatar
1 vote

What's the difference between using Python vs. Ruby for Browser Automation testing?

I'll make the case for Ruby as I'm most familiar with it. Others can vote up/down Ruby is great because you have rspec and capybara which are widely and heavily used. There is a huge community of ...
Michael Durrant's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible