I can't seem to make this work. It always displays the wrong permission. I have downloaded the chromedriver version 96 and my chrome version is 96. I know that the executable path has been depreciated and changed it to Service. Can anybody help me with this?
Here is the code:
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
chrome_driver_path = "/Users/thangtruong/WebScraping"
service = ChromeService(executable_path=chrome_driver_path)
driver = webdriver.Chrome(service=service)
website = "https://www.amazon.com"
driver.get(website)