Version mismatch between browser and WebDriver #2
Description
🐛 Bug description
The WebDriver install script currently uses a pinned version for the driver but installs the latest version of the selected browser. This is known to cause issues due to incompatibilities especially with Google Chrome.
🦶 Reproduction steps
Steps to reproduce the behavior:
- Wait until a new Browser version is released
- Attempt to build the node image (chrome is more likely to cause issues)
- Run the grid locally in docker
- Launch a new session
- Watch it burn on startup 🔥
🎯 Expected behaviour
When selecting a browser version the install script should always download a matching WebDriver executable.
Context
Version
This bug is not version dependent.
Where did the problem occur?
- ☸️ Kubernetes
- 🐳 Docker
- 👨💻 Locally
Which browsers cause the bug?
Chrome is more likely to break with a version mismatch but it is expected to happen to Firefox as well.
Additional context
A subsequent issue is that there are seemingly no past binary releases for Google Chrome, thus we can't pin it to prevent issues. To remedy this problem there has to be a reliable method of choosing a chromedriver version for the latest Chrome.