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"
]
}
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" ] }