Method: XPath::HTML#fieldset
- Defined in:
- lib/xpath/html.rb
#fieldset(locator) ⇒ Object
25 26 27 |
# File 'lib/xpath/html.rb', line 25 def fieldset(locator) descendant(:fieldset)[attr(:id).equals(locator) | descendant(:legend)[text.is(locator)]] end |