Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google-chrome is not installed when used in github actions #7

Closed
ghost opened this issue Feb 28, 2020 · 8 comments
Closed

google-chrome is not installed when used in github actions #7

ghost opened this issue Feb 28, 2020 · 8 comments

Comments

@ghost
Copy link

ghost commented Feb 28, 2020

Run nanasess/setup-chromedriver@master
/usr/bin/docker exec ecfce479f2448e9e04f32d9483aa598c9ddfa34d0c7cf4c35c7520c1a152e61e sh -c "cat /etc/*release | grep ^ID"
Running JavaScript Action with default external tool: node12
##setup chromedriver
/__w/_actions/nanasess/setup-chromedriver/master/lib/setup-chromedriver.sh linux64
/__w/_actions/nanasess/setup-chromedriver/master/lib/setup-chromedriver.sh: line 9: google-chrome: command not found

@nanasess
Copy link
Owner

@jethro-riosa Welcome to setup-chromedriver, thanks for the detailed issue.
Please tell me the architecture and version in which the problem occurred.

@nanasess
Copy link
Owner

@jethro-riosa google-chrome must be installed beforehand.

e.g

- uses: actions/checkout@master
- run: sudo apt-fast install -y google-chrome
- uses: nanasess/setup-chromedriver@master

@jpmckinney
Copy link

Aren't both Chrome and ChromeDriver already installed? https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners

@Askir
Copy link

Askir commented Apr 27, 2020

Aren't both Chrome and ChromeDriver already installed? https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners

Thanks for pointing this out. The action really is not needed, unless you self host runners I suppose.

@edumco
Copy link

edumco commented Jun 30, 2020

The action really is not needed, unless you self host runners I suppose.

You can use this action to specify the exact chromedriver version you want to use.

I'm looking for a similar feature: Specify the exact chrome version.

Can you guys help me?

@nanasess
Copy link
Owner

@edumco Please refer to the following
https://chromedriver.chromium.org/downloads/version-selection

@edumco
Copy link

edumco commented Jun 30, 2020

@edumco Please refer to the following
https://chromedriver.chromium.org/downloads/version-selection

Thanks for the help.

But what I am looking for is a way to force the exact version of google chrome so the build doesn't change after the fact

@nanasess
Copy link
Owner

Added support for install to google-chrome https://github.com/nanasess/setup-chromedriver/releases/tag/v1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants