Website denies get request using Selenium
问题 I am trying to use selenium in order to automate for login into a website https://afghanbids.com/ but when I run my python program, the browser loads a page which says access denied. You may please see the screen shot below. My code: driver = webdriver.Chrome(executable_path="chromedriver.exe") driver.get("https://afghanbids.com/") It shows that: How can I make the request so that the target website does not deny my request? 回答1: I took your code, added a few tweaks and encountered the access