Module: TerminusSpec::Locators
- Included in:
- TerminusSpec
- Defined in:
- lib/terminus_spec/locators.rb
Instance Method Summary collapse
-
#button_web_object(locator) ⇒ Object
Returns a button object.
-
#link_web_object(locator) ⇒ Object
Returns a link object.
-
#text_field_web_object(locator) ⇒ Object
Returns a text field object.
Instance Method Details
#button_web_object(locator) ⇒ Object
Returns a button object.
18 19 20 |
# File 'lib/terminus_spec/locators.rb', line 18 def (locator) @platform.(locator.clone) end |
#link_web_object(locator) ⇒ Object
Returns a link object.
6 7 8 |
# File 'lib/terminus_spec/locators.rb', line 6 def link_web_object(locator) @platform.get_link_for(locator.clone) end |
#text_field_web_object(locator) ⇒ Object
Returns a text field object.
12 13 14 |
# File 'lib/terminus_spec/locators.rb', line 12 def text_field_web_object(locator) @platform.get_text_field_for(locator.clone) end |