Module: WithinHelpers
- Defined in:
- lib/qable/step_definitions/web_steps.rb
Instance Method Summary collapse
Instance Method Details
#with_scope(locator) ⇒ Object
6 7 8 |
# File 'lib/qable/step_definitions/web_steps.rb', line 6 def with_scope(locator) locator ? within(*selector_for(locator)) { yield } : yield end |