Method: XPath::HTML#radio_button

Defined in:
lib/xpath/html.rb

#radio_button(locator, options = {}) ⇒ Object



66
67
68
# File 'lib/xpath/html.rb', line 66

def radio_button(locator, options={})
  locate_field(descendant(:input)[attr(:type).equals('radio')], locator)
end