-
Notifications
You must be signed in to change notification settings - Fork 323
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
[5.0] Implement ChromeDriverCommand #643
Conversation
@staudenmeir I'd greatly appreciate a review from you :) |
Not a review, but things I've noticed:
|
I've added this as an array in the command.
Yeah I was thinking that as well. That's probably better indeed. I've pushed a class that re-uses this knowledge.
You're absolutely right. I've updated the license file. |
This command will allow users to update their chrome driver for their OS. It has a flag that will also allow users to update every binary if they want. I've added this to the install command so the driver is updated whenever the install command is run. This means we don't have to update the docs. I wrote this as an install command so we can remove the binaries in a future version of Dusk and always have them installed with this command. This will save having them to be packaged with the repo. It's also written in such a way that it only installs the binary for the current OS. Fixes #641
@staudenmeir updated. |
@staudenmeir thanks for all your work on this btw 👍 |
When I updated my package, I noticed a potential issue with the new ChromeDriver release strategy: We can't do anything about that at the moment, we just have to wait for the next release to see what the index page will look like. |
@driesvints I did found some errors when running
So for me it installed the latest Chrome which is 74, as you also can see on the homepage: http://chromedriver.chromium.org/home However the Facebook driver doesn't support this version just yet, at least that's what the error is telling me. I've been looking into the A work around for now was downloading an older version manually, but the command currently doesn't work whenever a new version is released and not updated in the |
Hey @bobbybouwmann, did you read through #641 to see if any of the answers helps you?
The error says
I guess I can't help with this and you'll need to use a lower version for now... |
Do you mean the error that you posted? This error is not caused by an incompatibility with the |
@driesvints I had indeed 74 installed, but that was because of the |
This PR implements the functionality offered by https://github.com/staudenmeir/dusk-updater which was written by @staudenmeir.
This command will allow users to update their chrome driver for their OS. It has a flag that will also allow users to update every binary if they want. I've added this to the install command so the driver is updated whenever the install command is run. This means we don't have to update the docs.
I wrote this as an install command so we can remove the binaries in a future version of Dusk and always have them installed with this command. This will save having them to be packaged with the repo.
It's also written in such a way that it only installs the binary for the current OS.Fixes #641