diff --git a/rb/lib/selenium/webdriver/remote.rb b/rb/lib/selenium/webdriver/remote.rb index 54101786a7fd9..14ccc60ee113d 100644 --- a/rb/lib/selenium/webdriver/remote.rb +++ b/rb/lib/selenium/webdriver/remote.rb @@ -27,7 +27,6 @@ module Remote autoload :Driver, 'selenium/webdriver/remote/driver' autoload :Response, 'selenium/webdriver/remote/response' autoload :Capabilities, 'selenium/webdriver/remote/capabilities' - autoload :COMMANDS, 'selenium/webdriver/remote/commands' module Http autoload :Common, 'selenium/webdriver/remote/http/common' diff --git a/rb/lib/selenium/webdriver/remote/bridge.rb b/rb/lib/selenium/webdriver/remote/bridge.rb index a061853d8252d..5d5908d8bbd83 100644 --- a/rb/lib/selenium/webdriver/remote/bridge.rb +++ b/rb/lib/selenium/webdriver/remote/bridge.rb @@ -21,6 +21,7 @@ module Selenium module WebDriver module Remote class Bridge + autoload :COMMANDS, 'selenium/webdriver/remote/bridge/commands' include Atoms PORT = 4444 diff --git a/rb/lib/selenium/webdriver/remote/commands.rb b/rb/lib/selenium/webdriver/remote/bridge/commands.rb similarity index 100% rename from rb/lib/selenium/webdriver/remote/commands.rb rename to rb/lib/selenium/webdriver/remote/bridge/commands.rb