Repository navigation
Test Selenium 3 with current browser versions - #417
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #417 +/- ##
============================================
+ Coverage 85.82% 89.02% +3.19%
Complexity 184 184
============================================
Files 1 1
Lines 501 501
============================================
+ Hits 430 446 +16
+ Misses 71 55 -16 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MqZBAjVsaHhnSadusMUzuu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MqZBAjVsaHhnSadusMUzuu
They can be up to about a week behind the latest release, but come with matching drivers and need no install steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
03ed73c to
7faaa94
Compare
|
@uuf6429, do you want something like that (using the latest browser versions with Selenium 3 tests because Selenium docker images use stale browser versions) in https://github.com/minkphp/webdriver-classic-driver as well? |
I'm not using mink or behat for the foreseeable future, so personally I don't mind either way. The original justification of sticking with docker was that people were supposed to use repeatable throwaway setups, which also meant upgrading should be easier (so we wouldn't need to stick with old selenium versions). |
Selenium 2.53.1 and 3 Docker images were last built in 2016 and 2021, so CI tests Firefox 47/92 and Chrome 53/94, while people use current browser versions with Selenium 3 (see minkphp/webdriver-classic-driver#72).
Changes:
The runner image is updated about weekly, so browsers can be up to about a week behind the latest release.
Selenium 2.53.1 and 4 jobs still use Docker images.
Firefox hover tests don't fail on Firefox 153+ as they do in minkphp/webdriver-classic-driver#69: this driver doesn't use the Actions API, which is where Firefox remembers the cursor position.
Chrome form tests also don't fail as they do in minkphp/webdriver-classic-driver#68 (clicks not waiting for the navigation they trigger). I think the mouse move before each click avoids it: adding the same move to webdriver-classic-driver made its Form tests pass 5 of 5 runs instead of 1 of 5. Locally this driver still failed in 2 of 49 runs (form submit tests), so the bug isn't fully gone.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MqZBAjVsaHhnSadusMUzuu