Im trying to open a new Chrome browser that is already logged into my main Chrome account on Python using Selenium.
However, I can only seem to open a browser that is on a guest account.
from selenium import webdriver
#object of ChromeOptions class
o = webdriver.ChromeOptions()
#adding Chrome Profile Path
o.add_argument = {'user-data-dir':'/Users/jamessstuff/Library/Application Support/Google/Chrome/Default'}
#set chromedriver.exe path
driver = webdriver.Chrome(executable_path="/Users/jamessstuff/Desktop/chromedriver", options=o)