Skip to main content
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
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,080
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

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
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

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