Virtual-environments: Chrome not up to date.

Created on 9 Apr 2020  路  7Comments  路  Source: actions/virtual-environments

Describe the bug
When running browser test I install the latest chrome-driver to test on. But the chrome-driver is a higher version than the chrome install on the ubuntu latest virtual environment.

Area for Triage:
Testing and code coverage

Question, Bug, or Feature?:
Bug

Virtual environments affected

  • [ ] macOS 10.15
  • [ ] Ubuntu 16.04 LTS
  • [x] Ubuntu 18.04 LTS
  • [ ] Windows Server 2016 R2
  • [ ] Windows Server 2019

Expected behavior
An up to date chrome version on the virtual environments.

Actual behavior
image

question

All 7 comments

Hello @BlueDragon709 ,
According to documentation, currently, the following versions are available on our image:

  • Google Chrome 80.0.3987.149
  • ChromeDriver 80.0.3987.106

We update these versions to latest ones on weekly basis and keep them consistent to make sure that customers' builds will work as expected.

As I can see, Google Chrome was updated to 81 in apt repository a few days ago so we are expecting to update both Chrome and Chrome WebDriver to 81.x on images next week.

If you want to update Chrome Driver during build to latest version, I would suggest to consider updating Google Chrome too to make sure that the versions are consistent

how would I upgrade Google Chrome in the action?
I get this when I attempt to do this:
image

It looks like you use incorrect syntax, This doesn't work for me too.

sudo apt-get update | sudo apt-get --only-upgrade install google-chrome-stable

Could you please try to use

sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
google-chrome --version

It works perfect for me:
image

Like so?
image

Almost, we need to use | after run: because we use multiline command:
image

That fixed it.
Thanks 馃憣

You are welcome! Please let me know if I can help you somehow

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ydnar picture ydnar  路  3Comments

shogo82148 picture shogo82148  路  3Comments

Tnze picture Tnze  路  4Comments

shivammathur picture shivammathur  路  3Comments

adamsiembida picture adamsiembida  路  3Comments