I am trying to get selenium chromedriver to access a specific account. I did what I read online but it is making and accessing a guest account instead:
options = webdriver.ChromeOptions()
options.add_argument (r'--user-data-dir=C:\Users\mainuser\AppData\Local\Google\Chrome\User Data\Profile 1');
options.add_argument("--profile-directory=Profile 1");
driver = webdriver.Chrome(chrome_options = options)
driver.get('https://hoopshype.com/salaries/players/')
players = driver.find_elements_by_xpath('//td[@class="name"]')
I want it to access an already signed in google account. What should I do to make it do that?