Module: AutomationHelpers::Patches::WindowPatch Private
- Defined in:
- lib/automation_helpers/patches/capybara_window.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #close_window(handle) ⇒ Object private
Instance Method Details
#close_window(handle) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 36 37 |
# File 'lib/automation_helpers/patches/capybara_window.rb', line 33 def close_window(handle) within_given_window(handle) do browser.close end end |