Here is a method to validate if an Aria element is enabled/disabled using xpath in WATIR. The attributes that Watir provides for identifying the HTML elements on the page such as flash/Aria objects are sometimes not sufficient enough to identify elements on the page. XPath is well established and powerful query language for XML documents….

Read more