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

Unable to setup chrome driver #214

Open
shalini171993 opened this issue Aug 22, 2023 · 3 comments
Open

Unable to setup chrome driver #214

shalini171993 opened this issue Aug 22, 2023 · 3 comments

Comments

@shalini171993
Copy link

Hi,

I have old version of chrome installed and I am trying to install chrome driver for that.
Version - 100.0.4896.75

Chrome driver installation fails with the below error :

Run nanasess/setup-chromedriver@v2
##setup chromedriver
/opt/actions-runner/_work/_actions/nanasess/setup-chromedriver/v2/lib/setup-chromedriver.sh 100.0.4896.75 linux64
dpkg-query: package 'google-chrome' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.0c9q0UXf3c/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys A0XX430F7FAC5991
gpg: keyserver receive failed: Connection timed out
Error: The process '/opt/actions-runner/_work/_actions/nanasess/setup-chromedriver/v2/lib/setup-chromedriver.sh' failed with exit code 2
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Setup ChromeDriver

The chrome was successfully installed but getting this error message while trying to install driver.
Can you please look into this?

@nanasess
Copy link
Owner

@shalini171993
It seems that Google Chrome is missing, so why not resolve this by installing it beforehand?

@shalini171993
Copy link
Author

Hi @nanasess The chrome is installed successfully before this. I tried even printing the version installed in the console.But even after chrome is installed I am getting this error.
Note : I downgraded to nanasess/setup-chromedriver@v1 and its working. Looks like some issue in v2

@nanasess
Copy link
Owner

@shalini171993
The dpkg -s google-chrome command fails, trying to install the google-chrome-stable package sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A 040830F7FAC5991 call seems to have timed out.

What runner-image are you using?
I'll see what I can do about that.

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

2 participants