Answers for "chrome profiles user open with python"

0

chrome profiles user open with python

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("user-data-dir=C:\\Users\\pc name\\AppData\\Local\\Google\\Chrome\\User Data\\Profile 2")
driver = webdriver.Chrome(executable_path='C:\\path\\to\\chromedriver.exe', chrome_options=options)
driver.get("https://www.google.com")
Posted by: Guest on February-28-2022

Code answers related to "chrome profiles user open with python"

Python Answers by Framework

Browse Popular Code Answers by Language