Answers for "how to run selenium without opening browser"

5

use selenium without opening browser

option = webdriver.ChromeOptions()
option.add_argument('headless')
driver = webdriver.Chrome('path/to/chromedriver',options=option)
Posted by: Guest on June-11-2020

Code answers related to "how to run selenium without opening browser"

Python Answers by Framework

Browse Popular Code Answers by Language