Monthly Archives: April 2015

Check if an element is within another element

Problem Consider the following HTML where the span is the child element of interest: Given we have created a reference to each of the elements: How do you check which include the child element? Solution The Element#== method allows you … Continue reading

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