How do I update Chrome to the latest version in Windows workflows?

Last updated: July 27, 2026

Context

When using Windows builder instances, you may need to update Chrome to the latest version for your workflows. The pre-installed Chrome version in the base image may become outdated as new Chrome versions are released.

Answer

You can upgrade Chrome and ChromeDriver to the latest version using Chocolatey by adding scripts to your workflow configuration. Here's how to do it:

  1. Add the Chrome update script to your workflow:

workflows:
  chrome-workflow:
    name: Chrome Workflow
    max_build_duration: 120
    instance_type: windows_x2

    scripts:
      - name: Update Chrome
        script: |
          choco upgrade googlechrome -y --ignore-checksums

      - name: Update ChromeDriver
        script: |
          choco upgrade chromedriver -y --ignore-checksums

This approach ensures you always have the latest stable version of Chrome and ChromeDriver available for your automated tests and workflows.

Note: You may want to update both Chrome and ChromeDriver together to maintain compatibility between the browser and the WebDriver.