📌  相关文章
📜  如何在默认的 chrome python 代码示例上使用 selenium

📅  最后修改于: 2022-03-11 14:45:58.928000             🧑  作者: Mango

代码示例1
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")