I'm trying to run a selenium script on a virtual machine on Google Compute Engine. I have a debian-10-buster machine.
I've already done a pip3 install selenium
but when I run my script, I get this error:
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
I've seen this error when I was trying to setup selenium on my local machine. I know I need to download the chromedriver executable and save it in my path in the virtual machine. However, I am new to using Linux & SSH in general so I have two questions:
- How do I download the chromedriver executable in a google virtual machine?
- What is the
PATH
location in a google virtual machine?
I appreciate any help that you can share with me!