Merge pull request #2559 from henrahmagix/patch-1

Add evaluate_async_script to Capybara::Session::DSL_METHODS
This commit is contained in:
Thomas Walpole 2022-06-04 12:28:01 -07:00 committed by GitHub
commit 51bca83001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module Capybara
].freeze
SESSION_METHODS = %i[
body html source current_url current_host current_path
execute_script evaluate_script visit refresh go_back go_forward send_keys
execute_script evaluate_script evaluate_async_script visit refresh go_back go_forward send_keys
within within_element within_fieldset within_table within_frame switch_to_frame
current_window windows open_new_window switch_to_window within_window window_opened_by
save_page save_and_open_page save_screenshot