Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium options to remember user

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

options = webdriver.ChromeOptions() 
options.add_argument("user-data-dir=C:Path") #Path to your chrome profile
w = webdriver.Chrome(executable_path="C:Userschromedriver.exe", chrome_options=options)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #options #remember #user
ADD COMMENT
Topic
Name
6+8 =