Configurable webdriver (gecko by default but now chrome can be chosen)#70
Merged
edsu merged 2 commits intoDocNow:masterfrom Apr 26, 2020
Merged
Conversation
added 2 commits
April 26, 2020 17:02
…w you can choose chromedriver as well. Useful for working with Heroku
Member
|
Awesome! I tweaked the .travis.yml to hopefully get chromedriver installed on there so the test will pass. |
Member
|
There does seem to be a mismatch on Travis unfortunately. I will see if i can track it down, or disable to the test on Travis if I cant. |
Contributor
Author
|
Ok. Let me know. Maybe I can help you with the debugging |
Contributor
Author
|
Hi @edsu I've seen you struggling with Chrome driver in Travis. First of all, I see you could use the addons:
chrome: stableIf that doesn't work, then I think this could solve the issue as well. In this case, something like the following as we need Chrome v80 I don't know if this could be done directly on Travis. Hope it helps. |
Member
|
It does help, thanks @nahuelhds -- I'll try those ideas out. |
Member
|
Bingo! addon works! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've added the chromedriver configurable with the
config.yamlfile.You can configure this in the
config.yaml. The keys are the following ones.Geckodriver
The
geckodriveris properly defined by default. In case you need to configure it, then:Chromedriver
If you want to use
chromedriverlocally, then you should leave the config this way:Using chromedriver in Heroku
If you use Heroku, then you have to add the Heroku chromedriver buildpack.
And then use the environment vars provided automatically by it.
This is added in the readme