Monthly Archives: February 2015

Attaching Watir-Classic browser to HttpWatch

I was recently asked how to automate HttpWatch with Watir-Classic. The HttpWatch documentation included the following example, which was no longer working: How does this example need to be updated to make it run? Solution Due to only having a … Continue reading

Posted in Watir-Classic | Tagged | Leave a comment

Replace SelectList#select with SelectList#select_value when selecting options by value

As of Watir v6.8.0, this change is no longer necessary. Watir’s Select#select now behaves similar to Watir-Classic. It will now select based on text, label and then value. Say a page has the following select list. The page is localized … Continue reading

Posted in Watir Migration, Watir-Classic | Tagged | Leave a comment

Selecting options from a Dojo ComboBox

The Dojo ComboBox is a text field with a list of suggested inputs. While it looks like a select list, it cannot be interacted with using Watir’s select_list method – ie Watir::Select. The source for a Dojo ComboBox looks like: … Continue reading

Posted in Watir, Watir-Classic, Watir-Webdriver | Tagged , , | 2 Comments