2

Something like this:

from selenium import webdriver
bro = webdriver.Firefox()

Always opens a totally clean version of Firefox, with no history, bookmarks, nothing. If it's not possible to launch my usual browser version, is it possible for me to launch it and then interact with it through Selenium?

Thanks all, first post here, tried my best to find answer but to no avail.

Thedalus
  • 21
  • 1
  • While I'm not sure about the extensions and whether you'll have to manually install them I could find [this](https://stackoverflow.com/questions/58273428/how-to-use-default-browser-profile-in-selenium-instead-of-new-one) about loading the default profile – InsertCheesyLine Feb 04 '21 at 11:58
  • 1
    Thanks, I had not seen that one yet, seems like we have the same question. Tried similar code tho and what happens is the launch instruction takes a very long time, then launches geckodriver cmd and after a while launches still the same clean Firefox, not the one with my profile. – Thedalus Feb 04 '21 at 12:17

0 Answers0