Skip to content

Commit d9fbf8b

Browse files
Merge pull request #354 from titusfortner/command_fix
fix COMMANDS location
2 parents ad8bf40 + 829c76b commit d9fbf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/common/patch.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def patch_webdriver_bridge
6767
Selenium::WebDriver::Remote::Bridge.class_eval do
6868
# Code from lib/selenium/webdriver/remote/bridge.rb
6969
def raw_execute(command, opts = {}, command_hash = nil)
70-
verb, path = Selenium::WebDriver::Remote::COMMANDS[command] ||
70+
verb, path = Selenium::WebDriver::Remote::Bridge::COMMANDS[command] ||
7171
fail(ArgumentError, "unknown command: #{command.inspect}")
7272
path = path.dup
7373

0 commit comments

Comments
 (0)