-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capability to automatically download driver binaries and set up Selenoid for local development #4
Comments
Need to store somewhere an XML file with browser - driver version compatibility table and download it during command run. |
This one seems to be quite complex and difficult to maintain. Closing in favor to aerokube/selenoid#58. |
This shit only supports the latest version of driver. Correct solution is to support browser version - driver version mapping, determine actual browser version, store urls to driver binaries for different platforms and architectures, and so on and so forth. Maintaining such lists is error prone and requires implementing tests that check URLs for errors. So yes, we can just repeat these ones and this is simple. But in fact it's an ugly handicraft. |
An incomplete mapping file can found here: https://github.com/vania-pooh/cm/blob/master/browsers.json |
Some draft of this functionality is here: https://github.com/vania-pooh/cm/blob/master/selenoid/drivers.go |
For the most situations people don't need (and don't know about) versions. Just latest working |
One more example: |
This is needed for local development when user does not want to install Docker. In that case we download latest driver binaries and configure Selenoid to launch them directly as processes.
The text was updated successfully, but these errors were encountered: