Method: XPath::HTML#select
- Defined in:
- lib/xpath/html.rb
#select(locator) ⇒ Object
Match any ‘select` element.
85 86 87 88 |
# File 'lib/xpath/html.rb', line 85 def select(locator) locator = locator.to_s locate_field(descendant(:select), locator) end |