Monthly Archives: October 2012

Get the computed style of an element

Problem These days elements are rarely styled with just inline styles. For example: An element’s style will also be dependent on its parent elements, as well as its class (ie style sheets). How do you get the actual style of … Continue reading

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

Browser::attach method undefined in Watir 4.0

Problem When building one-off scripts to help setup data or automate some testing, it was common for me to manually get the IE browser to a certain state and then run the script against the already opened browser. These scripts … Continue reading

Posted in Watir, Watir-Classic | Tagged , | 5 Comments