Python Forum

Full Version: chromedriver.exe issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I laugh the chromedriver.exe without any new tab open and notification?

Capture


And here is my code

from selenium import webdriver

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--disable-infobars")

driver = webdriver.Chrome("chromedriver.exe")
Try running chrome in headless mode: https://developers.google.com/web/update...ess-chrome
chrome_options.add_argument("--headless")