Method: Webdrone::XPath#option
- Defined in:
- lib/webdrone/xpath.rb
#option(locator) ⇒ Object
Match an option element.
132 133 134 135 |
# File 'lib/webdrone/xpath.rb', line 132 def option(locator) locator = locator.to_s descendant(:option)[string.n.is(locator)] end |