Showing questions tagged: Show all questions

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 7 hours ago

Touch Keyboard not working in Firefox

I have windows 10 pro (64), 22H2 OS build 19045.4170, Windows Feature Experience Pack 1000.19054.1000.0 and latest Firefox (125.0.3) installed on A HP Pavilion Notebook 1… (read more)

I have windows 10 pro (64), 22H2 OS build 19045.4170, Windows Feature Experience Pack 1000.19054.1000.0 and latest Firefox (125.0.3) installed on A HP Pavilion Notebook 17 F121DS, Serie 5CD4355YDX. Touch Keyboard (not to be confused with on-screen) opens and closes immediately; sometimes, on the first occurrence, it stays open long enough to be able to click on a text field and then disappears. "On screen keyboard" works fine as does "Touch keyboard" in Edge and Chrome and all other Apps. Since this is a recent occurrence, and a lot of odd changes took place after the last FF update, I have reverted to Firefox 124, after this did not work also did a restore to last Restore Point from April. No change! I have consulted the [1754973] as well as [1750584] , but these did not help me much further. Any suggestions or is there a bug?

Asked by Karl 2 hours ago

As of 5/5/2024 I am unable to login to my outlook.com account from Firefox.

I can login from other web browsers, but not Firefox. What's going on? When I try to login as I have always dine in the past, this is what comes up: https://outlook.liv… (read more)

I can login from other web browsers, but not Firefox. What's going on?

When I try to login as I have always dine in the past, this is what comes up: https://outlook.live.com/mail/0/

But then absolutely nothing happens. Please advise.

Asked by cleo.miller 2 hours ago

403 and 404 errors on firefox started 4.29.24

Starting yesterday firefox, no recent updates etc, gives a 403 error for several large corporate sites and 404 page not found for most paypal payment pages. These sites/p… (read more)

Starting yesterday firefox, no recent updates etc, gives a 403 error for several large corporate sites and 404 page not found for most paypal payment pages. These sites/pages work fine with Chrome. There were no changes by by myself to my firefox installation, not any antivirus changes.

Within the last hour today everything is working properly. What is going on? jn

Asked by buy21 5 days ago

Why is Firefox autofilling the address bar with URLS I've never visited?

Why is Firefox autofilling the address bar with URLS I've never visited? There is a question on this from 5 years ago, with lots of suggestions. My problem is that Firefo… (read more)

Why is Firefox autofilling the address bar with URLS I've never visited? There is a question on this from 5 years ago, with lots of suggestions. My problem is that Firefox is autofilling with sites that contain confidential login information.

Asked by troppont 4 days ago

Can I change the date format from „month, day, year“ to „day, month, year“?

In Firefox the date format is set at „month, day, year“, but I need „day, month, year“. I tried all the solutions, I even installed Firefox - English (British) version, … (read more)

In Firefox the date format is set at „month, day, year“, but I need „day, month, year“.

I tried all the solutions, I even installed Firefox - English (British) version, but nothing changes.

Can you also implement an alternative, to be able to choose between the 2 options?

Thank you very much.

Asked by Cristi Nefiru 4 days ago

Audio interface input no longer shows in Google Meet.

My primary/default browser is Firefox on Sonoma 14.4.1, and recently I'm unable to use the inputs of my audio interface for google hangouts. The relevant output is correc… (read more)

My primary/default browser is Firefox on Sonoma 14.4.1, and recently I'm unable to use the inputs of my audio interface for google hangouts. The relevant output is correct, and my system audio would be the same.

Asked by Scott Simon 4 days ago

Help search results don't show list by date

Your help utility needs help. -results don't show date, must open each item. Results seem to not be listed in date order. What a mess to sort through. I can't select a de… (read more)

Your help utility needs help. -results don't show date, must open each item. Results seem to not be listed in date order. What a mess to sort through. I can't select a desired date range, or select by release version number. -your search tool isn't very effective, I keep getting unrelated results. I do better by searching google to find the help I want regarding Firefox.

Asked by Davyboy 3 days ago

Google Images using Firefox

Please help. I have always been able to access Google Images when using my Firefox browser. Now I only get a limited few. For example if I am searching for images of Ceda… (read more)

Please help. I have always been able to access Google Images when using my Firefox browser. Now I only get a limited few. For example if I am searching for images of Cedar Waxwings (a bird) I only see a limited amount of images and the word "Store" keeps showing up. Please tell me how to restore my otherwise satisfying experience of access all IMAGES. Thanks.

Asked by Craig Altobello 2 days ago

Credit card autofill stopped working.

Recently firefox stopped filling in my credit card information. 1. On a website asking for a credit card click on the credit card number box. 2. Choose the car from the… (read more)

Recently firefox stopped filling in my credit card information. 1. On a website asking for a credit card click on the credit card number box. 2. Choose the car from the popup. 3. Popup disappears but nothing is filled in on the website form. 4. Use Google Pay or PayPal to purchase.

This used to work.

Firefox version 125.0b9 (64-bit) Ubuntu 22.04 Firefox installed from the Mozilla PPA - ppa:mozillateam/firefox-next

Asked by michael.sez 2 days ago

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 days ago

YouTube on Firefox

I have been using Firefox on my Mac for years with no problems. Recently, however, I have been having trouble running YouTube. I get to the correct page for the video I… (read more)

I have been using Firefox on my Mac for years with no problems. Recently, however, I have been having trouble running YouTube. I get to the correct page for the video I want but the video itself does not show up, just the background for the page. Any idea what I might have done to create this problem?

Asked by Neach 1 day ago