# "Installing Google Chrome stable" but I can't find it anywhere

**URL:** <https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118>\
**Category:** Windows\
**Created:** [February 5, 2019, 8:21am UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118 "2019-02-05T08:21:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanTup](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dantup/32/1111_2.png) [@DanTup](https://travis-ci.community/u/DanTup)\
**Post date:** [February 5, 2019, 8:21am UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/1 "2019-02-05T08:21:15Z")

</div>

In my .travis.yml file I have:

```
addons:
  chrome: stable

```

And in the build output I see:

```
Installing Google Chrome stable

```

However, I can’t find an install anywhere. It doesn’t seem to be on PATH and it doesn’t seem to be in either Program Files or AppData folders. Is it actually being installed? If so, where to?

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 5, 2019, 12:54pm UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/2 "2019-02-05T12:54:15Z")

</div>

The addon is not currently supported on Windows at the moment. [https://docs.travis-ci.com/user/chrome](https://docs.travis-ci.com/user/chrome)

---

<div class="post-metadata">

**Author:** ![DanTup](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dantup/32/1111_2.png) [@DanTup](https://travis-ci.community/u/DanTup)\
**Post date:** [February 5, 2019, 1:06pm UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/3 "2019-02-05T13:06:20Z")

</div>

That was the conclusion I came to, though since the text had been output I thouht maybe it was supposed to work.

I’ve worked around it by just installing with Chocolatey for now. Thanks!

---

<div class="post-metadata">

**Author:** ![rajshah001](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rajshah001/32/6398_2.png) [@rajshah001](https://travis-ci.community/u/rajshah001)\
**Post date:** [April 1, 2021, 2:41pm UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/4 "2021-04-01T14:41:53Z")

</div>

@DanTup Can you please put the choco commands to install chrome on the windows which worked for you. I am trying `choco install googlechrome` this but it gives me an error.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 1, 2021, 5:11pm UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/5 "2021-04-01T17:11:51Z")

</div>

[https://community.chocolatey.org/packages/GoogleChrome](https://community.chocolatey.org/packages/GoogleChrome)

---

<div class="post-metadata">

**Author:** ![rajshah001](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rajshah001/32/6398_2.png) [@rajshah001](https://travis-ci.community/u/rajshah001)\
**Post date:** [April 2, 2021, 2:04am UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/6 "2021-04-02T02:04:17Z")

</div>

@native-api I had used the same command itself. But getting the issue as follows:

```
Failures

112 - googlechrome (exited -1) - Error while running 
'C:\ProgramData\chocolatey\lib\GoogleChrome\tools\chocolateyInstall.ps1'.

```

Here you can see the Travis build Logs: [Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/rajshah001/travis-windows-test/jobs/495510280)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 2, 2021, 5:56am UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/7 "2021-04-02T05:56:01Z")

</div>

Looking at that script, it points to the latest available version rather than a specific version. So I’d say it’s safe to pass `--ignore-checksums` as the error message suggests.

(There’s also no need to `choco upgrade` a package that you’ve just installed.)

---

<div class="post-metadata">

**Author:** ![DanTup](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dantup/32/1111_2.png) [@DanTup](https://travis-ci.community/u/DanTup)\
**Post date:** [April 4, 2021, 8:43am UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/8 "2021-04-04T08:43:06Z")

</div>

@rajshah001 this is what I used, although I’m no longer using Travis (using GH Actions) so I don’t know for sure it still works reliably.

```
if [[$TRAVIS_OS_NAME == "windows"]]; then
    echo Installing Google Chrome Stable...
    # Install Chrome via Chocolatey while `addons: chrome` doesn't seem to work on Windows yet
    # https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118
    choco install googlechrome --acceptlicense --yes --no-progress --ignore-checksums
fi
```

---

<div class="post-metadata">

**Author:** ![iqbalsingh-qa](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/iqbalsingh-qa/32/6518_2.png) [@iqbalsingh-qa](https://travis-ci.community/u/iqbalsingh-qa)\
**Post date:** [April 27, 2021, 1:49pm UTC](https://travis-ci.community/t/installing-google-chrome-stable-but-i-cant-find-it-anywhere/2118/9 "2021-04-27T13:49:05Z")

</div>

Hi,

Can anybody help me to out from this? I facing an issue with chrome browser installation.  
Below error is displayed every time :

```
The command "mocha test/testFile.js" exited with 7.
WebDriverError: unknown error: cannot find Chrome binary

```

In my .travis.yml file I have:

```
language: node_js
node_js: 
 - node
os: windows
addons:
 chrome: stable
install: 
 - npm install
scripts:
 - mocha test/testFile.js
```
