Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use headless browser in selenium python

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

options = Options()
options.headless = True
driver = webdriver.Chrome(CHROMEDRIVER_PATH, chrome_options=options)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #headless #browser #selenium #python
ADD COMMENT
Topic
Name
9+2 =