Toande labele fragen: Alle fragen toane

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 … (mear ynfo)

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)

Frege troch Magdeline Ng, 2 oer lyn

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'… (mear ynfo)

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.

Frege troch Iridium.throne, 7 oer lyn

Instagram page won't load.

Instagram page won't load. Doesn't load in Edge either. The proxy setting is off. It was loading yesterday, then today it won't. No malware detected by Mcafee or Spyhunte… (mear ynfo)

Instagram page won't load. Doesn't load in Edge either. The proxy setting is off. It was loading yesterday, then today it won't. No malware detected by Mcafee or Spyhunter. My account is working fine from my phone.

Frege troch djrutger444, 9 oer lyn

firefox webpage ie very slow changing to other wepages & gettin worse & slide bar dont go to the top when changing pages

when i amon a webpage& click to go to home screen takes about 10 minutes & i have hi speed inernet & th slide bar on side dont go to top when changing pages g… (mear ynfo)

when i amon a webpage& click to go to home screen takes about 10 minutes & i have hi speed inernet & th slide bar on side dont go to top when changing pages getting worse please fix it

Frege troch raledj, 11 oer lyn

Hacked?

Hello, I recently find products added to check out from various sites to purchase. I use all my pcs and other devices. They are all password protected. No one uses my dev… (mear ynfo)

Hello, I recently find products added to check out from various sites to purchase. I use all my pcs and other devices. They are all password protected. No one uses my devices. I think some one got my account. I changed the password. Can you help me about this topic Kind regards sami

Frege troch smu.uludgn, 13 oer lyn

Firefox Not Remembering Address Bar Websites

I'm currently on a very old version of Firefox simply because the new versions, each time I try the latest versions, seem to not have the function the old one has. Rememb… (mear ynfo)

I'm currently on a very old version of Firefox simply because the new versions, each time I try the latest versions, seem to not have the function the old one has. Remembering the websites I put into the address bar. The version I am currently using did have a issue with shuffling the order of the sites based on 'use' but setting Firefox to Private mode kept the websites locked in order and did not make them shuffle if one was clicked more often than another. Is this something I can do on the current version because I tried and looked for a way to do this recently but I kept getting 'autofill' results from google when I just want to be in Private mode, have the websites I frequent be the only ones listed when I click the address bar and not have them shuffle or have any other website I'd type into the bar not add itself to the list. If this is or isn't possible let me know.

Frege troch Kurai, 16 oer lyn

language

How can I set the default language fir Firefox to English? Currently browsing results always come up in language of my geographic location, for example, Romanian while … (mear ynfo)

How can I set the default language fir Firefox to English? Currently browsing results always come up in language of my geographic location, for example, Romanian while in Romania. Never had this problem before.

Frege troch Gary Bladen, 1 dei lyn

Lêst beäntwurde troch Gary Bladen, 1 dei lyn

Double Mozilla on PC, same version, won't uninstall

So for some reason I have two versions of Firefox on my computer (Windows 64 bit), I am logged in and using one of them, and the other is just there. I could log in there… (mear ynfo)

So for some reason I have two versions of Firefox on my computer (Windows 64 bit), I am logged in and using one of them, and the other is just there. I could log in there but I don't want to, I just want to get rid of it. Links from Telegram open in it, creating a second Firefox window instead of opening in another tab in the already open Firefox window, which is very inconvenient. The windows list of programs which can be uninstalled only has one Firefox (I've tried deleting and reinstalling, it doesn't help). But when I try to choose a default browser I get 2 icons to choose from which look the same (see screenshot). What the heck? How do I manage this!

Frege troch faina.daniel, 1 dei lyn

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… (mear ynfo)

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?

Frege troch Neach, 1 dei lyn

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 … (mear ynfo)

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?

Frege troch bogus1, 1 dei lyn

Cannot add Search Engines to Firefox

I am trying to add custom search engines to Firefox. I have tried the steps given in the forum thread https://support.mozilla.org/en-US/questions/1212596. However when … (mear ynfo)

I am trying to add custom search engines to Firefox. I have tried the steps given in the forum thread https://support.mozilla.org/en-US/questions/1212596.

However when I try to go and add the search engine as per the article given above I do not get the option. Please see the attached screen shot for more details. I do not want to add an extension or a plugin, but just manually have the option of adding search engines.

Frege troch ixian, 2 dagen lyn

Lêst beäntwurde troch ixian, 2 dagen lyn

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… (mear ynfo)

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

Frege troch michael.sez, 2 dagen lyn

Weird fonts Wing Dings??

I keep hitting sites where menus and selection boxes turn into unreadable Wing Dings? On W11 and cleared and rest the font cache in Windows and still repeatedly seeing th… (mear ynfo)

I keep hitting sites where menus and selection boxes turn into unreadable Wing Dings? On W11 and cleared and rest the font cache in Windows and still repeatedly seeing the issue?

Frege troch Doug Sooley, 3 dagen lyn

Lêst beäntwurde troch Doug Sooley, 2 dagen lyn

Boldfaced "S" does not print

When I view my bank statement in Firefox, everything appears fine, but when I print the statement, all occurrences of boldfce "S" on the printout are blank. This problem… (mear ynfo)

When I view my bank statement in Firefox, everything appears fine, but when I print the statement, all occurrences of boldfce "S" on the printout are blank. This problem does not occur with Google. Running macOS Catalina, all maintenance applied, Firefox is at 125.0.3.

Frege troch TheOld Crab, 4 dagen lyn

Lêst beäntwurde troch TheOld Crab, 2 dagen lyn