Questions tagged [firefox-profile]

Firefox saves your personal information such as bookmarks, passwords, and user preferences in a set of files called your profile, which is stored in a separate location from the Firefox program files. You can have multiple Firefox profiles, each containing a separate set of user information. The Profile Manager allows you to create, remove, rename, and switch profiles.

Firefox saves your personal information such as bookmarks, passwords, and user preferences in a set of files called your profile, which is stored in a separate location from the Firefox program files. You can have multiple Firefox profiles, each containing a separate set of user information. The Profile Manager allows you to create, remove, rename, and switch profiles.

Reference: Use the Profile Manager to create and remove Firefox profiles

90 questions
23
votes
3 answers

DeprecationWarning: firefox_profile has been deprecated, please pass in an Options object

First, I want to use some addons while selenium controlling my firefox. So, i tried load default profile of firefox in selenium code. My code: from selenium.webdriver.firefox.firefox_profile import FirefoxProfile profile_path =…
cmy2019
  • 239
  • 1
  • 2
  • 4
21
votes
5 answers

How to load firefox profile with Python Selenium?

I'm trying to get Python Selenium to work on my Windows Machine. I've upgraded to the latest versions of Firefox, Selenium, Geckodriver, but I still receive the below error: Python Script from selenium import webdriver driver =…
Chris
  • 5,444
  • 16
  • 63
  • 119
10
votes
1 answer

Unable to load existing firefox profile with selenium 4's option.set_preference in python

I have this code that works and loads the firefox profile from selenium import webdriver from selenium.webdriver.firefox.options import Options from selenium.webdriver.firefox.firefox_profile import FirefoxProfile ffOptions = Options() ffProfile =…
8
votes
2 answers

How can I set a default profile for the Firefox driver in Selenium Webdriver 3?

I can't set a default profile for Firefox in Selenium Webdriver 3 because there is no such constructor in the FirefoxDriver class. import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import…
8
votes
2 answers

What folders/files of a Firefox profile should you exclude from your commit?

I'm trying to store a Firefox profile in git. I've configured it to use a proxy and I want to be able to pull the profile back up when I check the code out again. As far as I can tell from the documentation there's a Cache folder and an Offline…
leeand00
  • 25,510
  • 39
  • 140
  • 297
6
votes
2 answers

Python: How to automate 'Allow' flash player content in Firefox?

I need to allow flash content in an automated manner in Python. I tried using Selenium in Python to do so but could not manage. The issue is that browsers stopped supporting settings that always allow flash content. Moreover, the "Allow" button…
5
votes
0 answers

How to use existing Firefox profile in Puppeteer?

I need to use an existing Firefox profile in Puppeteer using NodeJS. That profile has a history, configured add-ons, proxy-servers & cookies that I need.
5
votes
1 answer

How to download files using GeckoDriver Firefox and Selenium?

I used this code for download file , but its not working FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir","D:\\WebDriverDownloads"); profile.setPreference("browser.download.folderList",…
Pradnya Bolli
  • 1,915
  • 1
  • 19
  • 37
5
votes
3 answers

How to connect to Tor browser using Python

I am trying to connect to a Tor browser but get an error stating "proxyConnectFailure" any ideas I have tried multiple attempts to get into the basics of Tor browser to get it connected but all in vain if any could help life could be saved big…
codehacker
  • 320
  • 2
  • 3
  • 16
4
votes
2 answers

Message: Error: Polling for changes failed: NetworkError when attempting to fetch resource while downloading file through Selenium and FirefoxProfile

I am trying to download file from a url using selenium and Firefox on python3 but that give me an error in the geckodriver log file: (firefox:13723): Gtk-WARNING **: 11:12:39.178: Theme parsing error: :1:77: Expected ')' in color…
blabla
  • 402
  • 2
  • 10
  • 17
4
votes
1 answer

Downloading file through Selenium Webdriver in python

I am writing a program to automate web interaction through selenium webdriver in python. I got stuck in last step when I click on the "download" button through script, a window pop-up occours on the screen,with default option "Open with" selected. I…
4
votes
1 answer

Using FireFoxProfile with RemoteWebDriver, Selenium Grid2, causes Capabilities Exception

I am trying to programmatically create a temporary firefox profile for use in selenium tests with selenium grid2. Here is the code that I am currently running. DesiredCapabilities capabilities = new…
3
votes
1 answer

Selenium loads profile only in the deprecated way (Python)

I tried the recommended method of loading a profile, but it's not working for me. It simply opens an empty profile. from selenium.webdriver import Firefox from selenium import webdriver from selenium.webdriver.firefox.service import Service from…
3
votes
1 answer

Error: Can't find profile directory. console.warn: SearchSettings: "get: No settings file exists, new profile?" using GeckoDriver Firefox and Selenium

[RemoteTestNG] detected TestNG version 7.3.0 1609754675168 geckodriver INFO Listening on 127.0.0.1:123456 1609754675873 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette"…
3
votes
1 answer

The type initializer for 'System.IO.Compression.ZipStorer' threw an exception when loading existing FirefoxProfile through GeckoDriver Selenium and C#

Error System.TypeInitializationException HResult=0x80131534 Message=The type initializer for 'System.IO.Compression.ZipStorer' threw an exception. Source=WebDriver StackTrace: at…
Vy Do
  • 46,709
  • 59
  • 215
  • 313
1
2 3 4 5 6