Can't launch my url in Selenium-controlled Firefox browser process

Receiving this error: Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window. My desktop app redirects user to a … (read more)

Receiving this error: Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window.

My desktop app redirects user to a login screen on Firefox, and I want to automate it using Selenium. My current workflow: 1. Launch Selenium-controlled Firefox browser using GeckoDriver 2. Click on "Login" button on my desktop app. The desktop app launches the login screen on user's OS default browser using the default user profile (in which case I set in profiles.ini to the temp profile copy created by Selenium). 3. (ERROR) Popup on the above error is displayed

Code: import configparser import os

web_driver = selenium_webdriver.Firefox(executable_path='C:\\Users\\mnxl\\.wdm\\drivers\\geckodriver\\win64\\v0.34.0\\geckodriver') profile = web_driver.capabilities['moz:profile']

  1. Path to the Firefox profiles folder

profiles_path = os.path.expanduser(r'~\AppData\Roaming\Mozilla\Firefox')

  1. Path to the profiles.ini file

profiles_ini_path = os.path.join(profiles_path, 'profiles.ini')

  1. Read the profiles.ini file

config = configparser.ConfigParser() config.read(profiles_ini_path)

  1. Find the section for the profile to set as default

for section in config.sections():

   if config.has_option(section, 'Path') and config.get(section, 'Path') == profile:
       # Set this profile as the default
       config.set(section, 'Default', '1')
   else:
       # Set all other profiles as not default
       config.set(section, 'Default', '0')
  1. Write the changes back to the profiles.ini file

with open(profiles_ini_path, 'w') as configfile:

   config.write(configfile)

Asked by Magdeline Ng אתמול

Chase

I can open the Chase bank site, but cannot log into my account. I can log into my Chase account using Edge. This may have happened after the most recent update to Firefo… (read more)

I can open the Chase bank site, but cannot log into my account. I can log into my Chase account using Edge. This may have happened after the most recent update to Firefox. Any ideas how to fix this?

Asked by ggfossen לפני שבוע

Last reply by cor-el לפני שבוע

Theme

I choose a new theme. After a while, I close Firefox. When I start Firefox again, my chosen theme appears briefly, then the default theme replaces it. Why? FYI: it doesn'… (read more)

I choose a new theme. After a while, I close Firefox. When I start Firefox again, my chosen theme appears briefly, then the default theme replaces it. Why? FYI: it doesn't happen with just one theme.

Asked by Iridium.throne אתמול

Disabling drag/selection scrolling

I don't want to be able to scroll the page by selecting text. That's what the scroll wheel is for. More often than not this 'feature' just results in frustration as scrol… (read more)

I don't want to be able to scroll the page by selecting text. That's what the scroll wheel is for. More often than not this 'feature' just results in frustration as scrolling the page selects more text. Can I just disable this altogether somehow?

Asked by Sabin לפני שבוע

Last reply by Sabin לפני שבוע

Unable to sign in Qobuz from few days ago

I was unable to sign in Qobuz from yesterday. I have been using Firefox ver 115 to play streaming music from Qobuz on my Windows 8.1 PC as its sound quality is better t… (read more)

I was unable to sign in Qobuz from yesterday. I have been using Firefox ver 115 to play streaming music from Qobuz on my Windows 8.1 PC as its sound quality is better than other browsers. Yesterday, I found nothing happened after clicked the SIGN IN button on Qobuz's login page, however I had no problem using Google Chorme to login.

So I uninstalled/re-installed Firefox, and tried different older/newer versions, still didn't work.

I tried another PC running Windows 10, with Firefox ver 124.0.2, got the problem.

Please fix the problem ASAP, Firefox team. Thanks.

Its purer sound is the main reason I use firefox, instead of other browsers.

Asked by s2222440 לפני 4 ימים

Last reply by cor-el אתמול

White screen in Firefox

There are a few websites (e.g., https://thehermitagehotel.com/) that show up as a white screen (see attached) when I visit them from Firefox using my usual settings, but … (read more)

There are a few websites (e.g., https://thehermitagehotel.com/) that show up as a white screen (see attached) when I visit them from Firefox using my usual settings, but show up correctly if I use Firefox in private browsing mode. Turning off enhanced tracking protection does not resolve the problem. My browser privacy in Settings is set to "Custom" with everything checked, but changing to Standard and reloading the site does not fix the issue. As I noted above, the only thing that works is to open the site in private browsing mode. Most sites work fine. This problem is limited to 2-3 websites. My version of Firefox is 125.0.1 .

Asked by ellad.tadmor לפני שבוע

Last reply by cor-el לפני שבוע

No response on my bugs.

I have started posting bugs of Firefox in Bugzilla for almost 6 months now(though the number of bugs is 3). I have noticed that the bugs really had no response for nearly… (read more)

I have started posting bugs of Firefox in Bugzilla for almost 6 months now(though the number of bugs is 3). I have noticed that the bugs really had no response for nearly then(almost 6 months), so is it the way bugs are handled?, like they take long time to address( just asking as I though the process to be relatively fast) or is it something that I might be doing wrong in reporting a bug. I searched online and have been looking at assigning the bug( what I understood). So, how to do it if there exists something like assigning and will it increase the movement on my bugs??

Asked by Bhaumik Tripathi לפני שבוע

Last reply by jonzn4SUSE לפני שבוע

Addon cannot be installed because it seems to be corrupt

I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as i… (read more)

I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as it appears to be corrupt. Below are the package.json and the manifest.json:

package.json

{

 "name": "ext",
 "version": "1.0.0",
 "description": "",
 "main": "contentScript.js",
 "scripts": {
   "test": "echo \"Error: no test specified\" && exit 1"
 },
 "keywords": [],
 "author": "",
 "license": "ISC"

}


manifest.json

{

 "manifest_version": 2,
 "name": "SKUORG",
 "version": "1.0",
 "description": "Organises SKUs on WooPage",
 "permissions": [
   "activeTab",
   "webNavigation",
   "<all_urls>"
 ],
 "content_scripts": [
   {
     "matches": ["<all_urls>"],
     "js": ["contentScript.js"]
   }
 ]

}


I have tried on two devices / installs of firefox and have followed the steps I could find on this page : https://support.mozilla.org/en-US/kb/unable-install-add-ons-extensions-or-themes#w_corrupt-extension-files

If you have any suggestions please let me know.

Asked by harjoat לפני שבוע

Last reply by harjoat לפני שבוע

My saved passwords don't show up in my laptop browser.

I am using Firefox version 125.0.3(64-bit). I am not able to access my saved passwords. It is asking me to log in when I am already logged in to my Firefox account. When … (read more)

I am using Firefox version 125.0.3(64-bit). I am not able to access my saved passwords. It is asking me to log in when I am already logged in to my Firefox account. When using Firefox in Troubleshoot Mode I can access my saved passwords. How do I solve this problem? Moreover I am unable to add a Primary Password to protect my saved passwords. I have never tried to add a primary password before this problem.

Asked by Prakash לפני שבוע

Unable to access `community.signalusers.org`

Error raised, Secure Connection Failed An error occurred during a connection to community.signalusers.org. The OCSP response does not include a status for the certifica… (read more)

Error raised,

Secure Connection Failed

An error occurred during a connection to community.signalusers.org. The OCSP response does not include a status for the certificate being verified.

Error code: MOZILLA_PKIX_ERROR_OCSP_RESPONSE_FOR_CERT_MISSING

   The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
   Please contact the website owners to inform them of this problem.

Learn more…

There's also no way to add an exception? Just completely broken at the moment. I have to disable OCSP stapling to get it to work at all, which is less then ideal.

Currently using 125.0.3 (64-bit). I checked for newer versions of firefox and it's not saying anything. Chrome and Edge work fine. Encountered this on an android tablet with firefox, and went to desktop and hit the same thing.

Asked by tswaters אתמול

Video Stream Won't Play in Background When I Switch Tabs

When switching from one tab to another, streaming stops and video won't play in background. I've tried all the main fixes suggested I've found. Nothing worked. Please hel… (read more)

When switching from one tab to another, streaming stops and video won't play in background. I've tried all the main fixes suggested I've found. Nothing worked. Please help! Will be using alternate browser until fixed as it's too unwieldy for me to use this way.

Asked by L אתמול

Importing Bookmarks from Chrome via html

I followed instructions for adding bookmarks from html file. Got to "import from html" . I can see the html file I want to access, but when I push "open" nothing happen… (read more)

I followed instructions for adding bookmarks from html file. Got to "import from html" . I can see the html file I want to access, but when I push "open" nothing happens.

Asked by bceccoli לפני שבוע

Last reply by cor-el לפני שבוע

Is there a way I can get my Add-Ons BACK after "upgrading" to a version that keeps Cloudflare happy?

I did an Upgrade to a version of Firefox that would bypass those "Your Browser Is Not Supported" messages that apparently come from "Cloud-flare." I figured [naievely!] … (read more)

I did an Upgrade to a version of Firefox that would bypass those "Your Browser Is Not Supported" messages that apparently come from "Cloud-flare." I figured [naievely!] that my addons would "port" to the upgrade. They didn't. Is there any way [e.g., a putative backup file, perhaps] that would allow this?

Thanks in advance...!

Please reply to --- The Gray Cat << tmc@att.net >>

Asked by The Gray Cat לפני 3 שבועות

Last reply by The Gray Cat לפני 18 שעות

Uninstall firefox

Every time I sign onto Firefox I get the attached message. I think that uninstalling Firefox and reinstalling "may" resolve the problem, but Firefox won't uninstall. I … (read more)

Every time I sign onto Firefox I get the attached message. I think that uninstalling Firefox and reinstalling "may" resolve the problem, but Firefox won't uninstall. I have tried four different ways and it won't uninstall. Can you help me an uninstall process?

Asked by bogus1 לפני 2 ימים

Firefox gets lost

Firefox goes to eBay Portugal instead of eBay USA. In order to complete a specific task, I had to use Edge browser to get there. Why does it do that? How do I fix … (read more)

Firefox goes to eBay Portugal instead of eBay USA. In order to complete a specific task, I had to use Edge browser to get there. Why does it do that? How do I fix it?

Asked by WTC71 לפני 3 ימים

Last reply by jscher2000 - Support Volunteer לפני 3 ימים