Scraping with Selenium

15 Apr 2018

for the longest time my selenium kept having a pop-up which i had to click, then everything ran smoothly.

the below removes the pop-up (if you don’t have the option of going headless - e.g. while downloading files:

chrome_options = webdriver.ChromeOptions()
chrome_options.add_experimental_option("useAutomationExtension", False)