Cache google-chrome-stable - CircleCi 2.0

Good morning!

Is it possible (and how to do it if yes) to cache last stable google chrome?

      - run:
          name: Download Chromedriver latest version - stable
          command: |
            sudo apt-get update
            sudo apt-get install libgconf2-4 libnss3-1d libxss1 lsb-release
            sudo apt-get install libappindicator3-1 libasound2 fonts-liberation xdg-utils
            curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
      - run:
          name: Install driver
          command: |
            sudo dpkg -i google-chrome.deb
            sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome/google-chrome

Best regards
Hubert

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.