Okay so I wasted a whole day self research and failed. So help? I made a profile and all I'm trying to do is open Firefox under that profile as and have it set as a default.
Here is the code
from selenium import webdriver from selenium.webdriver.firefox.options import Options from selenium.webdriver.firefox.firefox_binary import FirefoxBinary ff_options = Options() #profile binary = FirefoxBinary("C:\\Program Files\\Mozilla Firefox\\firefox.exe") profile = webdriver.FirefoxProfile('C:\\Users\\bravoj\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\7k4o5psw.CCC Deafualt') ff_driver = webdriver.Firefox(firefox_profile=profile, firefox_binary=binary, executable_path='C:\\Users\\bravoj\Downloads\\geckodriver.exe') #fire fox driver ff_driver.get('about:profiles')