Skip to content

Commit

Permalink
Don't require rake when loading selenium-client. Fixes issue 6709.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Dec 15, 2013
1 parent 5efdf42 commit ff23eac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rb/lib/selenium/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
require 'selenium/client/driver'
require 'selenium/client/selenium_helper'
require 'selenium/server'
require 'selenium/rake/server_task'

module Selenium
DEPRECATED_CONSTANTS = {
Expand All @@ -34,4 +33,6 @@ def self.const_missing(name)
super
end
end

autoload :Rake, 'selenium/rake/server_task'
end # Selenium

0 comments on commit ff23eac

Please sign in to comment.