Method: Webrat::Locators::Locator#initialize
- Defined in:
- lib/webrat/core/locators/locator.rb
#initialize(session, dom, value, *field_types) ⇒ Locator
Returns a new instance of Locator.
6 7 8 9 10 11 |
# File 'lib/webrat/core/locators/locator.rb', line 6 def initialize(session, dom, value, *field_types) @session = session @dom = dom @value = value @field_types = field_types end |