We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 573bace commit 230ecb9Copy full SHA for 230ecb9
rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb
@@ -158,6 +158,17 @@ def create_remote_driver
158
)
159
end
160
161
+ def create_firefox_driver
162
+ if native_events?
163
+ profile = WebDriver::Firefox::Profile.new
164
+ profile.native_events = true
165
+
166
+ WebDriver::Driver.for :firefox, :profile => profile
167
+ else
168
+ WebDriver::Driver.for :firefox
169
+ end
170
171
172
def create_chrome_driver
173
binary = ENV['chrome_binary']
174
if binary
0 commit comments