Skip to content

Commit

Permalink
Add back starting firefox in spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 3, 2015
1 parent 573bace commit 230ecb9
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ def create_remote_driver
)
end

def create_firefox_driver
if native_events?
profile = WebDriver::Firefox::Profile.new
profile.native_events = true

WebDriver::Driver.for :firefox, :profile => profile
else
WebDriver::Driver.for :firefox
end
end

def create_chrome_driver
binary = ENV['chrome_binary']
if binary
Expand Down

0 comments on commit 230ecb9

Please sign in to comment.