Method: Webdrone::XPath#table
- Defined in:
- lib/webdrone/xpath.rb
#table(locator) ⇒ Object
Match any table element.
144 145 146 147 |
# File 'lib/webdrone/xpath.rb', line 144 def table(locator) locator = locator.to_s descendant(:table)[attr(:id).equals(locator) | descendant(:caption).is(locator)] end |