Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use selenium on default chrome python

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument("--user-data-dir=/home/username/.config/google-chrome")

cls.driver = webdriver.Chrome(options=options,
                              executable_path="./../ext/chromedriver")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #default #chrome #python
ADD COMMENT
Topic
Name
2+1 =