Skip to content

Commit

Permalink
[rb] add web_socket_url to list of W3C Options
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 29, 2021
1 parent 0f95b27 commit 604c23b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions rb/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Ruby:
* Moved New Window functionality to TargetLocator#new_window to be used with Driver#switch_to
* Deprecated using Manager#new_window
* Changed order of logging output (#9850)
* Added support for web_socket_url capability

Chromium:
* Implemented casting functionality
Expand Down
3 changes: 2 additions & 1 deletion rb/lib/selenium/webdriver/common/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module Selenium
module WebDriver
class Options
W3C_OPTIONS = %i[browser_name browser_version platform_name accept_insecure_certs page_load_strategy proxy
set_window_rect timeouts unhandled_prompt_behavior strict_file_interactability].freeze
set_window_rect timeouts unhandled_prompt_behavior strict_file_interactability
web_socket_url].freeze

class << self
attr_reader :driver_path
Expand Down
1 change: 1 addition & 0 deletions rb/lib/selenium/webdriver/remote/capabilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Capabilities
:timeouts,
:unhandled_prompt_behavior,
:strict_file_interactability,
:web_socket_url,

# remote-specific (webdriver.remote.sessionid)
:remote_session_id
Expand Down

0 comments on commit 604c23b

Please sign in to comment.