Class: RIESS::LocatorStrategy
- Inherits:
-
Object
- Object
- RIESS::LocatorStrategy
- Defined in:
- lib/finders.rb
Instance Attribute Summary collapse
-
#locator ⇒ Object
readonly
Returns the value of attribute locator.
Instance Method Summary collapse
-
#initialize ⇒ LocatorStrategy
constructor
A new instance of LocatorStrategy.
Constructor Details
#initialize ⇒ LocatorStrategy
Returns a new instance of LocatorStrategy.
7 8 9 10 11 12 13 14 |
# File 'lib/finders.rb', line 7 def initialize @locator = { :id => :find_element_by_id, :name => :find_element_by_name, :search => :find_element_by_search, :search_path => :find_element_by_search_path } end |
Instance Attribute Details
#locator ⇒ Object (readonly)
Returns the value of attribute locator.
5 6 7 |
# File 'lib/finders.rb', line 5 def locator @locator end |