ManivannanMurugavel / selenium-python-aws-lambda

60 stars 25 forks source link

chromedriver' executable needs to be in PATH. #13

Open soumilshah1995 opened 3 years ago

soumilshah1995 commented 3 years ago

I tried uploading your ZIP in Python Lambda Python version 3.7, 3.8, and 3.6 gives following error

{ "errorMessage": "Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home\n", "errorType": "WebDriverException", "stackTrace": [ " File \"/var/task/lambda_function.py\", line 46, in lambda_handler\n driver = webdriver.Chrome(chrome_options=chrome_options)\n", " File \"/var/task/selenium/webdriver/chrome/webdriver.py\", line 68, in init\n self.service.start()\n", " File \"/var/task/selenium/webdriver/common/service.py\", line 81, in start\n raise WebDriverException(\n" ] }

MiladGhorbaniG commented 3 years ago

same issue

soumilshah1995 commented 3 years ago

i already solved it here is solution https://www.youtube.com/watch?v=S0GUg8bcpcI&t=335s

soumilshah1995 commented 3 years ago

@MiladGhorbaniG https://www.youtube.com/watch?v=S0GUg8bcpcI&t=335s