selenium without a browser

Solutions on MaxInterview for selenium without a browser by the best coders in the world

showing results for - "selenium without a browser"
Mirko
29 May 2018
1from selenium import webdriver   # for webdriver
2from selenium.webdriver.support.ui import WebDriverWait  # for implicit and explict waits
3from selenium.webdriver.chrome.options import Options  # for suppressing the browser
4
5option = webdriver.ChromeOptions()
6option.add_argument('headless')
7driver = webdriver.Chrome('path/to/chromedriver',options=option)
similar questions
queries leading to this page
selenium without a browser