watir-webdriver Questions
21
Since the latest release of chrome (34.0.1847.116) last week, I have been receiving the “Disable developer mode extensions" when running automated tests using watir-webdriver.
This seems to be th...
Aftertaste asked 14/4, 2014 at 8:43
7
I am using Watir-Webdriver with Firefox and the method recommended on the watirwebdriver.com site to automate file downloads. This involves setting FireFox about:config parameters to disable the do...
Hughes asked 11/1, 2012 at 0:44
5
Solved
I'm new to WATIR testing (and do I love it!) and have run into a wall on how to refocus my WATIR script to a newly opened window.. Here's my (simplified) script....
#!/usr/bin/ruby
require 'rubyge...
Emptor asked 22/5, 2012 at 19:1
3
Solved
First week with watir-webdriver and Web app testing in general, so still trying to wrap some concepts around.
Having this javascript element:
<input type="submit" class="button" value="Search"...
Liston asked 9/2, 2012 at 17:27
7
Solved
I am trying to scroll a web page to find and click on a content that is lazily loaded when the page is scrolled. I am using following command
require 'watir-webdriver'
@browser = Watir::new :fire...
Jermainejerman asked 28/11, 2012 at 15:44
3
Solved
I'm trying to create additional tabs in Firefox using Watir webdriver. However, I'm not having much luck
After opening the browser:
require 'watir-webdriver'
b =Watir::Browser.new
I want to open...
Pilose asked 22/8, 2014 at 17:44
8
I am trying to run multiple feature file using tags, i have tried the command cucumber --tag @some_name --tag @some_name1. But it throws an error which reads as follows,
"WARNING: cannot load such...
Hyoscyamus asked 16/6, 2014 at 6:47
4
Solved
How could i save image, which is loaded via watir-webdriver? All manuals and examples show only fetching src of image, and using open-uri saving it. But i need to save that image, which was generat...
Danette asked 13/9, 2013 at 10:40
5
So let's say pretty often a script runs that opens a browser and does web things:
require 'watir-webdriver'
$browser = Watir::Browser.new(:firefox, :profile => "botmode")
=> #<Watir::Br...
Novena asked 25/12, 2011 at 23:21
4
Solved
I can do the following using Chrome Driver:
b = Watir::Browser.new :chrome, :switches => ['--user-data-dir=C:/some_folder/'] # same philosophy for selenium, just a bit of a different syntax.
...
Puncture asked 29/10, 2014 at 23:1
5
So, we have the following code in our page:
<div class="toggle-wrapper">
<input id="HasRegistration_true" class="registration_required toggle" type="radio" value="True" name="HasRegistra...
Risky asked 20/2, 2013 at 0:30
9
I developed a crawler with ruby watir-webdriver that downloads some files from a page. My problem is that when I click to download the second file, Chrome opens a bar in the top asking for confirma...
Ulcerous asked 4/4, 2013 at 17:2
3
Solved
I am trying to automate an online survey on a website but I get this error each time:
Selenium::WebDriver::Error::UnknownError: unknown error: Element is not clickable at
point (561, 864). Other ...
Kalasky asked 18/11, 2013 at 21:9
2
In the watir documentation (http://watir.com/guides/chrome/), it has been mentioned that doing
Watir::Browser.new :chrome, headless: true
will enable us to use headless chrome
This does not see...
Sparerib asked 17/8, 2017 at 0:40
2
Solved
I'm using Watir-webdriver and I was wondering if there was a good way to check if a new window opens. I've googled around a bit and couldn't find anything though it feels like there should be an ea...
Volplane asked 11/7, 2011 at 15:42
1
Is there a chrome switch to suppress 'external protocol request' ?
I am automating an application using selenium - ruby - watir webdriver.
I searched over net for solutions to bypass this window ...
Edgerton asked 26/9, 2013 at 17:26
2
Solved
I’m trying to automate some tasks on a webpage, and part of it includes clicking a link that’ll show a javascript alert where you have to press “OK”. Trouble is, when it gets to that point, it fail...
Diddle asked 1/10, 2013 at 20:51
1
Solved
I have a step definition, below, that does what I want it to do i.e. it checks the url of the page against the 'page' element of 'PAGES' hash.
Then(/^I should( still)? be at the "(.*)" page$/) do ...
Payment asked 24/2, 2017 at 16:39
3
Solved
I need to save image from recaptcha to localhost disk, i'm getting image dom element using watir-webdriver, but it doesn't support save method, as watir do. So how can i save image to my disk?
Html...
Deleterious asked 8/1, 2013 at 16:38
2
Solved
Watir is a Selenium-based black-box testing tool that can automate tasks on the browser.
I would like to be able to open up a Watir::Browser.new that is in private browsing mode.
Thanks
Portage asked 26/10, 2012 at 7:30
2
Solved
There is a div on a page that is not visible but has some value I want to capture. Calling text on it returns me an empty string.
How do I get the value displayed without having to deal with the r...
Harkey asked 7/2, 2013 at 10:18
2
I use watir with firefox to grab a webpage after filling a form. Here a short part of my code:
browser.button(:type => 'submit').click
sleep 10
browser.element(:id => 'footer').wait_until_pr...
Rosalie asked 20/11, 2016 at 8:35
7
Solved
I know this is a very silly question. Yet, am not able to find how to make the browser open in fullscreen mode using watir webdriver. i tried using maximize() but in vain. This is how the code look...
Miksen asked 14/7, 2011 at 9:7
2
I started running into tons of these errors today:
Net::ReadTimeout (Net::ReadTimeout)
/usr/local/rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/protocol.rb:158:in `rescue in rbuf_fill'
/usr/local/...
Lemures asked 3/6, 2013 at 21:30
4
Solved
When an element is out of view with selenium and one tries to interact with it, selenium will usually scroll the element into view first implicitly. This is great except that what is annoying is th...
Armed asked 23/11, 2013 at 20:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.