Method: XPath::HTML#file_field
- Defined in:
- lib/xpath/html.rb
#file_field(locator, options = {}) ⇒ Object
70 71 72 |
# File 'lib/xpath/html.rb', line 70 def file_field(locator, ={}) locate_field(descendant(:input)[attr(:type).equals('file')], locator) end |