Closed mohnish7 closed 3 years ago
well you commented out the chrome installation, and the chromedriver needs chrome to work, so maybe this could be the issue.
another way you can debug this: in the CMD run the chromedriver directly (it should be located somewhere in the pypy packages, you need to search it a little) and then see what the output is, what is the correct error message? if this is working, then add all the flags from your python code to the CMD and see if they work as expected or which error message you get.
because you run the driver directly, you get way more info than from running it through python :)
I ended up using chromedriver directly
Trying to run chromedriver in Google Cloud Run. Here is what the docker file looks like:
Any idea how to fix this error? In my requirements file I have chromedriver_py== 92.0.4515.43 mentioned. Any other dependencies that I need to install?
The issue seems to be originating from here:
browser = Chrome(executable_path=binary_path, options=opts)
Here's the options: