from selenium import webdriver user_path=['1/','2/','3/','4/'] options = webdriver.ChromeOptions() options.add_argument("--user-data-dir={}".format(user_path))