0

How do I get Selenium webdriver to open Firefox with a predefined profile instead of the default profile?

the below code opens firefox with default profile

from selenium import webdriver
driver = webdriver.Firefox()
Amit Joshi
  • 15,448
  • 21
  • 77
  • 141
Rafi
  • 1
  • Possible duplicate of [unable to Pass FirefoxProfile parameter In webdriver to use preferences to download file](https://stackoverflow.com/questions/47568275/unable-to-pass-firefoxprofile-parameter-in-webdriver-to-use-preferences-to-downl) – undetected Selenium Jun 21 '18 at 12:29
  • related: https://stackoverflow.com/questions/15954682/setting-selenium-to-use-custom-profile-but-it-keeps-opening-with-default – jmunsch Sep 18 '18 at 20:56

0 Answers0