i am trying to run the following code below on an AWS Juypter Notebook
import os
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument("--headless")
driver = webdriver.Chrome(chrome_options=chrome_options)
driver.get("http://www.duo.com")
the following error has occurred
WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
I am trying to use the Selenuim package to connect to an online database while as trying to avoid setting up an EC2 Instance. if there is a work around regarding an EC2 instance I need help in finding that, however if an EC2 instance is needed then i must.
here is my path in which i am installed my chrome drivers
home/ec2-user/anaconda3/envs/