watir-webdriver Questions
3
I am wondering if watir-webdriver as the ability to log the output of any console errors?
This would be equivalent to manually opening the console in a browser and watching for JS errors as a page...
Corfu asked 7/9, 2011 at 20:50
3
How can i save website images with watir, without reloading them with open-uri or similar?
I: The reason why i can't use
File.open(file_name, 'wb') do |f|
f.write open(img.src).read
end # fil...
Heterophyllous asked 6/5, 2013 at 0:45
3
Solved
I am working on a project for a client using Ruby & Watir. He requires that the session is restored when the application is reloaded (so to save his login states). This is the normal behavior o...
Alage asked 8/5, 2013 at 1:2
2
I'm using Cucumber with Watir Web-driver and Chrome browser.
When I execute my tests, sometimes there is an error like this:
"Selenium::WebDriver::Error::InvalidSelectorError: invalid selector: ...
Schluter asked 4/6, 2015 at 10:39
1
Solved
I have a docker container running a rails app (let's call it container A) that needs to do some scraping with watir webdriver using firefox as backend.
I have firefox installed in another containe...
Ingalls asked 11/5, 2014 at 19:10
1
Solved
I am currently trying to write a script that iterates over an input file and checks data on a website. If it finds the new data, it prints out to the terminal that it passes, if it doesn't it tells...
Templetempler asked 16/5, 2015 at 20:19
2
Solved
I'm trying to use watir-webdriver with IE9 on 64bit Windows 7.
When I try to open a new browser I am getting the following error message, any ideas on a solution?
C:\watir>irb
irb(main):001:0&g...
Intersection asked 23/6, 2011 at 12:32
3
Solved
Given a simple page:
<form>
<input type="email">
<button>click</button>
</form>
If I enter anything in text field that is not e-mail and click the button, Please ...
Christchurch asked 26/3, 2013 at 12:8
1
In Cannot click html element with watir, i was trying to click an element which gives me the row below:
I am not able to find the three dropdown lists which you see in the image above.
How do I ...
Buckwheat asked 7/4, 2015 at 23:43
1
Solved
I want to click the "button" below, but cannot click it.
The html is:
<table onclick="filtersJob_intrinsic_extender.addRow();return false;" class="FilterList_addLink">
<tbody>
<...
Intent asked 2/4, 2015 at 22:51
2
I have firefox 20 which works with my version of watir-webdriver. I use the following code which can open any browser or a headless phantomjs browser. Chrome and phantom work, but firefox throws an...
Nickeliferous asked 4/4, 2015 at 0:4
4
Solved
I have looked through the examples on these pages
http://watir.com/examples/
http://wiki.openqa.org/display/WTR/Examples
I still don't see a simple example of getting html of a page.
browser = ...
Earthly asked 15/2, 2012 at 22:51
4
I am using the watir-webdriver ruby gem. It starts the browser (Chrome) and begins to load a page. The page is loading too slowly, and watir-webdriver raises a timeout error. How can I make the bro...
Titivate asked 26/3, 2012 at 17:8
3
Solved
For testing purposes I have multiple Firefox installations/versions on one machine made by using Utilu FF collection.
If there`s
b = Watir::Browser.new :ff
in test script, it is automatically ...
Ravelment asked 8/9, 2011 at 10:12
0
I see a lot of logging information for PhantomJS in my ruby (1.8) watir code, i.e INFO messages. How do I turn it off ? I got the Java code from google search but not ruby code. Java PhantomJSDrive...
Guttapercha asked 23/1, 2015 at 19:22
4
When using the alert methods of selenium-webdriver, I encountered the JavaScript Error: "e is null"
Code:
browser = Watir::Browser.new :firefox
browser.alert.ok; sleep 5
Error:
Selenium::WebDr...
Spleen asked 31/7, 2014 at 20:4
3
Solved
Any ideas? I've tried setting webdriver.firefox.useExisting=true as described in the link below hoping to reuse an existing window with firebug enabled, but no such luck.
http://code.google.com/p/...
Merciful asked 19/5, 2011 at 21:29
3
Solved
I'm trying to do some headless testing using a ruby script. Essentially I'm executing Xvfb on display :1, and then firing up Watir::Browser.new(:firefox) using watir-webdriver.
This works great if...
Winton asked 25/4, 2011 at 19:5
1
Solved
I know there is a function called browser.window.move_to(0, 0) to move the browser into different position, but the OSX 10.9 is completely new for it.
Are there any methods can be used to move the...
Uncharitable asked 24/2, 2014 at 2:42
2
Solved
I have the following code
browser.link(:text => 'Generate Report').click
browser.radio(:value => 'byTotalValue').wait_until_present(180)
which requests that a report be generated and th...
Och asked 26/1, 2012 at 4:59
0
I might be missing something obvious but here is what i have setup:
CentOs 6.4 Headless VM ( running Selenium hub )
CentOs 6.4 Headless VM ( running node ) (same VM as # 1)
Windows Xp Pro VM ( R...
Beaner asked 20/3, 2014 at 11:4
3
I am about to change my test automation language from Java to Ruby (I have new job where Ruby fits better into the tech stack).
I have a lot of experience with Java and Webdriver but can see that ...
Succotash asked 24/8, 2013 at 17:46
3
We are currently using watir-webdriver (0.6.2) with firefox to run acceptance tests.
Our tests take a long time to run, and often fail with timeout errors.
We wanted to decrease the timeout time, ...
Tonatonal asked 21/6, 2013 at 18:53
1
Solved
I am writing an automated testing program which will test some web programs that are sometimes slow to load certain AJAX calls. For instance the user will click 'Query' which will result in a HTML ...
Ailey asked 15/11, 2013 at 6:30
3
Solved
I'm trying to tell my watir script to wait for an ajax-injected login box to open up. I am using watir-webdriver, and testing in Chrome. I cannot get wait_until to work, as commented in the below (...
Vandiver asked 4/12, 2010 at 22:54
© 2022 - 2024 — McMap. All rights reserved.