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 ...
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.
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 ...
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
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 ...
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/')]
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
watir × 24automated-testing × 11
watir-webdriver × 9
selenium-webdriver × 7
ruby × 4
browser-automation × 2
xpath × 2
cucumber × 2
python × 1
testcase × 1
chromedriver × 1
robotframework × 1
continuous-integration × 1
learning × 1
database × 1
firefoxdriver × 1
specflow × 1
sql × 1
sikuli × 1
test-tools × 1
web-testing × 1
watin × 1
hudson × 1