Skip to content

Commit

Permalink
[rb] use require instead of autoload for server_error.rb since Server…
Browse files Browse the repository at this point in the history
…Error isn't namespaced with Remote and doesn't have circular dependency issues
  • Loading branch information
titusfortner committed Aug 18, 2021
1 parent fec3399 commit c684f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
# under the License.

require 'uri'
require 'selenium/webdriver/remote/server_error'

module Selenium
module WebDriver
module Remote
autoload :Bridge, 'selenium/webdriver/remote/bridge'
autoload :Driver, 'selenium/webdriver/remote/driver'
autoload :Response, 'selenium/webdriver/remote/response'
autoload :ServerError, 'selenium/webdriver/remote/server_error'
autoload :Capabilities, 'selenium/webdriver/remote/capabilities'
autoload :COMMANDS, 'selenium/webdriver/remote/commands'
module Http
Expand Down

0 comments on commit c684f99

Please sign in to comment.