how to use selenium on default chrome python

Solutions on MaxInterview for how to use selenium on default chrome python by the best coders in the world

showing results for - "how to use selenium on default chrome python"
Eleonora
27 Oct 2020
1from selenium import webdriver
2
3options = webdriver.ChromeOptions()
4options.add_argument("--user-data-dir=/home/username/.config/google-chrome")
5
6cls.driver = webdriver.Chrome(options=options,
7                              executable_path="./../ext/chromedriver")
8