Skip to content
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

Support latest version of Chrome! #138

Open
jdvegmond opened this issue Apr 25, 2019 · 6 comments
Open

Support latest version of Chrome! #138

jdvegmond opened this issue Apr 25, 2019 · 6 comments

Comments

@jdvegmond
Copy link

Expected behaviour

Chimpy should work with the latest version of Chrome. (v74 at moment of writing)

Actual behaviour

Tests are not started, and the following message is shown:
[chimp][helper] setupBrowserAndDDP had error
{ Error: session not created: Chrome version must be between 70 and 73
........

Exact steps to reproduce / repository that demonstrates the problem

Install the latest Chrome version and start a Chimpy test using Chrome.

Version & tools:

Chimpy 0.54.0
Node.js 6.9.4
Windows 10 latest version

@rsshilli
Copy link

rsshilli commented May 16, 2019

Ok. I had previously posted a GitHub repo here that you could use in package.json, but I was wrong. The package refused to install correctly out of Github.

So until a new package is posted, to use the latest version of Chrome (v74) you'll have to use my cherry-chimp package:

npm install [email protected] --save-dev

This will likely go away once my changes in #140 are accepted and published.

@jdvegmond
Copy link
Author

jdvegmond commented May 17, 2019 via email

@rsshilli
Copy link

When you install Chimpy from scratch, uses the 2.46 driver which is pretty old (it matches Chrome 69). The good/bad thing about 2.46 is that it doesn't tell you that you have the wrong driver. That "feature" wasn't introduced until Chromedriver 70.

FWIW, our docker container refuses to upgrade past Chrome 73 and Chromedriver 74 refuses to work with Chrome 73, so I also created a [email protected] for people who want the proper Chrome 73 drivers.

@hexsprite
Copy link
Contributor

hexsprite commented Oct 1, 2019

Can chimpy just not install chromedriver and prompt you to install it on the top level if you don't install it? That way we can choose to whatever version we want....

As a workaround, i just rm -fr node_modules/chimpy/node_modules/chromedriver which then picks up the top level version...

@lgandecki
Copy link
Member

lgandecki commented Oct 2, 2019

I'm pretty sure that's what we do in the most recent version (v2.0.0) @hexsprite
#148

is this not working for you properly?

@hexsprite
Copy link
Contributor

@lgandecki unfortunately no... I'm installing using the git+https:// URL. I wonder if that's causing the issue.

Actually re-installing using the NPM installed version seems to work properly... Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants