Module: Capybara::ElementClickOptionPatch
- Defined in:
- lib/capybara/playwright/node.rb
Instance Method Summary collapse
Instance Method Details
#perform_click_action(keys, **options) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/capybara/playwright/node.rb', line 3 def perform_click_action(keys, **) # Expose `wait` value to the block given to perform_click_action. if [:wait].is_a?(Numeric) [:_playwright_wait] = [:wait] end # Playwright has own auto-waiting feature. # So disable Capybara's retry logic. [:wait] = 0 super end |