Skip to content

Commit

Permalink
[rb] update chrome CDP endpoint
Browse files Browse the repository at this point in the history
send_command was deprecated in chromedriver 2.40
  • Loading branch information
lmtierney committed Oct 30, 2018
1 parent 4ff9d3e commit 2ecb7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/chrome/bridge.rb
Expand Up @@ -23,7 +23,7 @@ module Bridge
COMMANDS = {
get_network_conditions: [:get, '/session/:session_id/chromium/network_conditions'.freeze],
set_network_conditions: [:post, '/session/:session_id/chromium/network_conditions'.freeze],
send_command: [:post, '/session/:session_id/chromium/send_command'.freeze]
send_command: [:post, '/session/:session_id/goog/cdp/execute'.freeze]
}.freeze

def commands(command)
Expand Down

0 comments on commit 2ecb7d9

Please sign in to comment.