Class: Dommy::Rack::Locator
- Inherits:
-
Object
- Object
- Dommy::Rack::Locator
- Defined in:
- sig/dommy/rack.rbs
Overview
Finds DOM elements within a document/element by Capybara-style locators.
Instance Method Summary collapse
- #find_button ⇒ Object
- #find_field ⇒ Object
- #find_link ⇒ Object
- #find_option ⇒ Object
- #form_for ⇒ Object
-
#initialize ⇒ Locator
constructor
A new instance of Locator.
Constructor Details
#initialize ⇒ Locator
Returns a new instance of Locator.
96 |
# File 'sig/dommy/rack.rbs', line 96
def initialize: (untyped document) -> void
|
Instance Method Details
#find_button ⇒ Object
99 |
# File 'sig/dommy/rack.rbs', line 99
def find_button: (untyped locator) -> untyped
|
#find_field ⇒ Object
97 |
# File 'sig/dommy/rack.rbs', line 97
def find_field: (untyped locator) -> untyped
|
#find_link ⇒ Object
98 |
# File 'sig/dommy/rack.rbs', line 98
def find_link: (untyped locator) -> untyped
|
#find_option ⇒ Object
100 |
# File 'sig/dommy/rack.rbs', line 100
def find_option: (untyped select_el, untyped value) -> untyped
|
#form_for ⇒ Object
101 |
# File 'sig/dommy/rack.rbs', line 101
def form_for: (untyped element) -> untyped
|