Top "Watir" questions

Watir (pronounced water) stands for Web Application Testing in Ruby.

How to find out which JavaScript events fired?

I have a select list: <select id="filter"> <option value="Open" selected="selected">Open</option&…

javascript events watir dom-events browser-automation
Unable to find the chromedriver executable

Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and …

ruby selenium selenium-webdriver watir selenium-chromedriver
Compile ruby script into exe?

Is it possible to compile a ruby script into an .exe on Windows? I have searched everywhere and I've tried …

ruby compilation exe watir
How to use watir-webdriver to wait for page load

Using watir-webdriver, how do I wait for a page to load after I click a link? At the moment I …

webdriver watir firewatir safariwatir
Modal dialog present (Selenium::WebDriver::Error::UnhandledAlertError) after dismissing confirm popup

I have a page with something like this: <input type="button" onclick="confirm('confirm popup');" value="click" /> When …

javascript popup watir watir-webdriver confirm
How to detect if an element exists in Watir

I'm relatively new to Watir but can find no good documentation (examples) regarding how to check if an element exists. …

ruby watir
How do I use Watir::Waiter::wait_until to force Chrome to wait?

I'm trying to tell my watir script to wait for an ajax-injected login box to open up. I am using …

ruby watir watir-webdriver
how to select dropdown on value option in ruby watir?

This is my drop down and i want to select it on its value option <select id =""> <…

ruby watir
How to specify the location of the chromedriver binary

Earlier I had put the Chrome binary, "chromedriver.exe", in the "C:/Windows" directory and Watir was picking it from …

ruby google-chrome watir
How to access element using Watir and XPath

I have some HTML that looks like this: <h1 id="header">Header</h1> I would like …

xpath watir