docker-ng-cli-e2e icon indicating copy to clipboard operation
docker-ng-cli-e2e copied to clipboard

e2e - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 84

Open gizbo opened this issue 6 years ago • 11 comments

Hi, I'm getting the following error: E/direct - Error code: 135 [08:20:59] E/direct - Error message: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries. [08:20:59] E/direct - Error: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries.

I notice you have instruction about locking the Chrome version but I might not be following it correctly cause it's giving me the following error: Error: Could not find chromedriver at /app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_84.0.4147.30. Run 'webdriver-manager update' to download binaries.

Ultimately I trying to had that to my gitlab-ci. This is what I have: test:e2e: stage: test extends: .tags image: trion/ng-cli-e2e:${CLI_VERSION} allow_failure: false script: - ./node_modules/protractor/node_modules/webdriver-manager/bin/webdriver-manager update --versions.chrome 84.0.4147.30 - ng e2e --webdriver-update=false

Thanks, Yves

gizbo avatar Jul 28 '20 12:07 gizbo

Which version are you using (value of CLI_VERSION)?

You mention that your project is public, can you share the repo url?

everflux avatar Jul 28 '20 12:07 everflux

Which version are you using (value of CLI_VERSION)?

You mention that your project is public, can you share the repo url?

sorry 9.1.7

gizbo avatar Jul 28 '20 12:07 gizbo

You mention that your project is public, can you share the repo url?

everflux avatar Jul 28 '20 12:07 everflux

You mention that your project is public, can you share the repo url?

Sorry it's not public

gizbo avatar Jul 28 '20 12:07 gizbo

I see. Could you try the latest image and check, if your problem persists with it? (10.0.4)

everflux avatar Jul 28 '20 12:07 everflux

I see. Could you try the latest image and check, if your problem persists with it? (10.0.4)

Worked with 10.0.4, so how can I lock it?

gizbo avatar Jul 28 '20 13:07 gizbo

Hello,

yesterday the 85 dropped into the stable channel. Unfortunately selenium immediately decided to switch, so from that time starting our CI is broken :/ https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable I've seen, that the stable-channel is part of the Docker build so could you please build a new tag? :)

Best Regards Jonas

jonasvoelcker avatar Aug 26 '20 17:08 jonasvoelcker

Jonas, thanks for bringing this to our attention. I will build a new :latest tag.

everflux avatar Aug 26 '20 17:08 everflux

Thanks for that, unfortunately it's still 84 :/ https://hub.docker.com/layers/trion/ng-cli-e2e/latest/images/sha256-c7d0ad17a30c9b64e865332afda9b13ddddc7ef31852d6c8d0da402db114bad5?context=explore

jonasvoelcker avatar Aug 26 '20 18:08 jonasvoelcker

Wonderful, now it perfectly works again :)

(Vielen Dank für die tollen Images, auf euch ist immer Verlass, offensichtlich sogar außerhalb der klassischen Arbeitszeiten!)

jonasvoelcker avatar Aug 26 '20 18:08 jonasvoelcker

You are very welcome, thanks for the kind words. Sorry the build took so long.

Please let us know if there is this kind of problem again.

everflux avatar Aug 26 '20 20:08 everflux