Commit 8819ab5
committed
Support selenium-webdriver 4.32.0
This pull request supports selenium-webdriver 4.32.0 that sets remote.active-protocols => 1
via SeleniumHQ/selenium@a1ff120a9fd
- Steps to reproduce and this commit fixes these two failures:
```
$ bundle update selenium-webdriver --conservative
... snip ...
$ git diff
diff --git a/Gemfile.lock b/Gemfile.lock
index db3f0d1..07f40b9 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -574,7 +574,7 @@ GEM
sass-embedded (1.83.4-x86_64-linux-musl)
google-protobuf (~> 4.29)
securerandom (0.4.1)
- selenium-webdriver (4.29.1)
+ selenium-webdriver (4.32.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
$ bin/test test/dispatch/system_testing/driver_test.rb -n '/^test_define_extra_capabilities_using_(headless_)?firefox$/'
... snip ...
F
Failure:
DriverTest#test_define_extra_capabilities_using_firefox [test/dispatch/system_testing/driver_test.rb:128]:
--- expected
+++ actual
@@ -1 +1 @@
-{"moz:firefoxOptions" => {"args" => ["--host=127.0.0.1"], "prefs" => {"remote.active-protocols" => 3, "browser.startup.homepage" => "http://www.seleniumhq.com/"}}, "browserName" => "firefox"}
+{"moz:firefoxOptions" => {"args" => ["--host=127.0.0.1"], "prefs" => {"remote.active-protocols" => 1, "browser.startup.homepage" => "http://www.seleniumhq.com/"}}, "browserName" => "firefox"}
bin/test test/dispatch/system_testing/driver_test.rb:114
F
Failure:
DriverTest#test_define_extra_capabilities_using_headless_firefox [test/dispatch/system_testing/driver_test.rb:145]:
--- expected
+++ actual
@@ -1 +1 @@
-{"moz:firefoxOptions" => {"args" => ["-headless", "--host=127.0.0.1"], "prefs" => {"remote.active-protocols" => 3, "browser.startup.homepage" => "http://www.seleniumhq.com/"}}, "browserName" => "firefox"}
+{"moz:firefoxOptions" => {"args" => ["-headless", "--host=127.0.0.1"], "prefs" => {"remote.active-protocols" => 1, "browser.startup.homepage" => "http://www.seleniumhq.com/"}}, "browserName" => "firefox"}
bin/test test/dispatch/system_testing/driver_test.rb:131
Finished in 0.009594s, 208.4566 runs/s, 208.4566 assertions/s.
2 runs, 2 assertions, 2 failures, 0 errors, 0 skips
$
```1 parent e0bfbb2 commit 8819ab5
File tree
2 files changed
+3
-3
lines changed- actionpack/test/dispatch/system_testing
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
| 577 | + | |
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments