Python Forum
chromedriver.exe issue - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: chromedriver.exe issue (/thread-16004.html)



chromedriver.exe issue - gahhon - Feb-10-2019

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")



RE: chromedriver.exe issue - nilamo - Feb-11-2019

Try running chrome in headless mode: https://developers.google.com/web/updates/2017/04/headless-chrome


RE: chromedriver.exe issue - metulburr - Feb-12-2019

chrome_options.add_argument("--headless")