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
3
votes
0 answers

Firefox: session cookies not kept when browser is under remote control

I am running Selenium automated tests in Firefox. The problem is that, when running tests on Firefox, the browser is open in "Browser is under remote control" mode and then the session cookies are not kept when the browser is closed. Here it is the…
3
votes
1 answer

How to initiate Tor Browser using Selenium and Python

I m trying to open the webpage in Tor Browser using Python Code: # Start :Code For TOR Browser from selenium import webdriver from selenium.webdriver.firefox.firefox_profile import FirefoxProfile from selenium.webdriver.firefox.firefox_binary import…
Amol Kumbhar
  • 51
  • 1
  • 5
3
votes
1 answer

Using Selenium WebDriver + Tor as proxy

I try to connect to a specific site using Selenium WebDriver Firefox through TOR Socks5 at 9050 port and I can't establish the connection. profile = FirefoxProfile() profile.set_preference('network.proxy.type', 1) profile.set_preference(…
Kanarsky
  • 162
  • 1
  • 10
3
votes
2 answers

setting proxy in selenium in python for Firefox Geckodriver

My question is about setting proxy in selenium (3.4.3.) coding in python (2.7) for Firefox (Geckodriver v0.18.0-win64). The spec at http://www.seleniumhq.org/docs/04_webdriver_advanced.jsp provides only a java example. from selenium import…
3
votes
1 answer

How to auto-download through Firefox browser using FirefoxProfile?

I'm working with selenium java where I need to download pdf files, I referred this, this and also this answers here, but seems like nothing is working in my situation. Is it due to setting a new firefox driver instance…
Prasad_Joshi
  • 642
  • 3
  • 13
  • 34
3
votes
2 answers

Download and save multiple csv files using selenium and python from popup

I want to download csv files from "https://clinicaltrials.gov/ct2/results?cond=&term=lomitapide&cntry1=&state1=&SearchAll=Search+all+studies&recrs=" website I am using python and selenium script as written below:But i get the exception…
Mohua
  • 63
  • 2
  • 7
3
votes
2 answers

Windows popup interaction for downloading using selenium webdriver in python

I am making a programme to automatically download the data using selenium webdriver in python. When i click on "download" button following popup occours . with default option "Open with" selected. I want my program to first click on the option "save…
user8023364
  • 159
  • 1
  • 12
3
votes
1 answer

How to use socks authentication in webdriverio

I would like to have SOCKSv5 authentication enabled in my webdriverio application. However it doesn't seem to work at the moment. So far i have tried the following configurations: Setting manually using firefox-profile as followed: fp.setProxy({…
Maxim
  • 3,836
  • 6
  • 42
  • 64
3
votes
1 answer

Prevent popup in Firefox if username/password are in URL

If you have a site protected with Basic authentication, you can automatically login if you add the username and password to the url http://foo:bar@localhost However, in Firefox, you will still get a popup Is there a way in firefox to tell it not…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
3
votes
1 answer

Python Selenium: Set Firefox preferences failed

I'm trying to automate a file download in a web page using selenium. We can consider for example that I will try to automate the download of geckodriver from https://github.com/mozilla/geckodriver/releases. My python code is the following: That's…
Kallel Omar
  • 1,208
  • 2
  • 17
  • 51
3
votes
2 answers

Is it possible to create a FirefoxProfile and pass in saved passwords?

Is it possible to add passwords to a profile that's created as an instance of org.openqa.selenium.firefox.FirefoxProfile? From Mozilla docs (Profiles — Where Firefox stores your bookmarks, passwords and other user data), I can see that Firefox…
anotherdave
  • 6,656
  • 4
  • 34
  • 65
3
votes
2 answers

Selenium Javascript Webdriver: how to setup Firefox profile to accept selfsigned certificate

I'm trying to use selenium-webdriver to test a site that uses a self-signed certificate. To pass the tests under Firefox, it is required to use a profile that tells Firefox to accept the self-signed certificate. I was able to use a profile created…
Younes
  • 1,635
  • 1
  • 19
  • 33
2
votes
1 answer

Java Selenium open TOR browser

I try to open the Tor browser by Java + Selenium + CheckoDriver + Tor browser. The code below open the Tor browser but with the "Tor failed to start" error. Maybe someone faced with this problem or have some another solution to solve problem (only…
2
votes
3 answers

"unknown error","message":"connection refused","stacktrace" while trying to use firefoxprofile through GeckoDriver with Selenium on Mac OS X

I am getting connection refused error while creating a firefox driver. System.setProperty("webdriver.gecko.driver", "path to gecko driver"); FirefoxOptions options = new…
Nuthan Kumar
  • 483
  • 5
  • 22
2
votes
2 answers

How to load a existing FirefoxProfile through Selenium and Python

First time posting here, so I address a problem I cannot solve.Checked Stackoverflow and google. There's some answers for java which I couldn't decode. Therefore you might mention that this is a duplicate, but so far no one answered such a…