watir-webdriver Questions
1
Solved
I am working on Watir webdriver and I want to get text of the h1 tag of the page
<body class="not-front not-logged-in page-node node-type-first-drive one-sidebar sidebar-right col-2 bp col-2 l...
Formic asked 29/2, 2012 at 9:38
1
Solved
I'd like to scrape a website that dynamically generates more content as I scroll down the web browser. I have seen a related post, Auto-Scroll in FireFox, but it doesn't answer my question.
Is it...
Kinswoman asked 27/2, 2012 at 17:17
1
Solved
I am trying to dismiss "Confirm Navigation" popup. This is how it looks like in Chrome.
To see the popup:
require "watir-webdriver"
browser = Watir::Browser.new
browser.goto "http://www.gravity...
Words asked 22/2, 2012 at 5:8
1
Solved
I am new to watir-webdriver automation, apologies if its a basic question of automation. But the thing is I am automating pagination of a website where the URL of the website changes as the user ch...
Corroboration asked 21/2, 2012 at 15:49
1
Solved
I have a page with something like this:
<input type="button" onclick="confirm('confirm popup');" value="click" />
When I go to the page and click the link:
require "watir-webdriver"
brows...
Eliciaelicit asked 19/2, 2012 at 2:13
1
I am trying to run the following piece of javascript code in my watir ruby script(watir webdriver). I am trying to set the values of a read only form element:
@browser.execute_script("oFormObject ...
Homologue asked 15/2, 2012 at 15:39
2
Solved
I'm surprised there didn't seem to be much discussion on this.
in Mechanize I can easily read an entire cookie jar from the browser, store it to a file, and load it in to a later session/run befor...
Eyepiece asked 11/2, 2012 at 10:19
3
Solved
I need to check the contents of a select list drop down which varies depending on a value in another field. I am reading the valid options into an array of strings from a CVS field and comparing by...
Ghetto asked 15/6, 2011 at 13:57
1
Solved
I am using watir-webdriver and am attempting to check the background-color of an HTML element. The problem is that the background-color is set in the CSS and not inside the HTML tag.
Is there a w...
Brainwork asked 23/1, 2012 at 23:12
3
Solved
Using Watir, is there a way to access an element without attributes?
For example:
<span>Text</span>
I'd like to avoid using xpath, but if that's the only way it's cool.
Astound asked 30/11, 2011 at 18:24
2
Solved
I'm trying to get started with ruby and Watir-webdriver for some test automation.
sudo apt-get install ruby rubygems
sudo gem install watir-webdriver
Whenever I gem install I'm getting these er...
Lumpkin asked 29/11, 2011 at 1:5
3
Solved
I am new to Ruby and would really appreciate some help understanding what is going on here.
Summary:
Gem install watir-webdriver
Installs fine
start irb
require "watir-webdriver"
... LoadError: n...
Homograph asked 9/11, 2011 at 13:52
3
I'm using watir-webdriver to navigate around my website and grab screenshots in different browsers.
Sometimes the screenshots taken in IE turn out the right size, but colored entirely black. The f...
Vulgarity asked 1/11, 2011 at 17:33
1
Solved
I am using mechanize to scrap some web pages.
I need to know what are mechanize limitations? What mechanize can not do?
Can it execute javascripts embedded in the web page?
Can I use it to cal...
Paregmenon asked 2/11, 2011 at 16:28
3
Solved
I'm evaluating Watir-webdriver, to decide if i can switch to using it for my browser tests (from Watir mostly) and one of the key things would be the ability to interact with TinyMCE WYSIWYG editor...
Seasonseasonable asked 12/1, 2011 at 0:16
2
Solved
I'm upgrading my script from Watir to Watir-Webdriver and I'm wondering how to take advantage of headless-browser testing and grid testing. I've done some research into it but my sources don't seem...
Disjoint asked 8/6, 2011 at 14:27
2
Solved
I learned how to use Firefox 4 with watir and webdriver (on Win7 x64), setting profile items. Example:
profile = Selenium::WebDriver::Firefox::Profile.new
profile["browser.download.useDownloadDir"...
Antecedent asked 29/3, 2011 at 13:32
2
I'm in the process of switching my Watir / FireWatir scripts over to use watir-webdriver and need a means in watir-webdriver to determine which type of browser the test is currently being executed ...
Ress asked 20/8, 2011 at 20:37
2
Solved
It's as simple as that:
How can I get Browser.text.include?, or Ruby in general, to be case insensitive for that specified command?
Serpigo asked 28/7, 2011 at 15:51
1
I have the following code:
require "rubygems"
require "watir-webdriver"
browser = Watir::Browser.new(:chrome)
browser.goto "http://google.com"
When i run this code, the browser opens the site go...
Palacios asked 30/5, 2011 at 12:52
1
Solved
I have a HTML document which contains elements having the same class name. I could just do an iteration over all the elements in a page and store with elements with a class name in a list. Is there...
Subversion asked 21/6, 2011 at 23:12
1
Solved
Cross-posted from the Cukes Google Group:
I have experimented with a number of methods of saving screenshots,
but settled on the method that is built into watir-webdriver. No
matter which method I...
Chapman asked 3/6, 2011 at 15:23
3
Solved
I am trying to locate and click on a jQuery menu element, the menu is defined as multiple UL elements containing a number of LI elements.
Using Firefox 3.6.17 on Mac 10.5, in standard WATIR I've u...
Printmaker asked 10/5, 2011 at 10:50
1
Solved
I am starting the process of converting my WATIR scripts to use WATIR webdriver.
There a couple of table methods I was using in my WATIR scripts to check the size (rows and columns) of a HTML table...
Kuhlmann asked 11/5, 2011 at 11:39
3
I have a website which is only rendered in Webkit enabled browser (Google Chrome, Safari). I am using Google Chrome since I am on Windows 7.
I am using Watir-WebDriver to automate the same.
Issue...
Nagaland asked 26/4, 2011 at 20:27
© 2022 - 2024 — McMap. All rights reserved.