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 1 day ago

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 1 day ago

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

Last reply by cor-el 1 day ago

Login page

I cannot open the login page on my hosts website. My host is https://ventraip.com.au/ based in Melbourne Australia. That means I cannot access the Cpanel so I cannot uplo… (read more)

I cannot open the login page on my hosts website. My host is https://ventraip.com.au/ based in Melbourne Australia. That means I cannot access the Cpanel so I cannot upload data on my web site. Other people can open that login page on their computers buy I can't on mine. Where is the problem?

This is the message I get


'Secure Connection Failed

An error occurred during a connection to vip.ventraip.com.au. PR_CONNECT_RESET_ERROR

Error code: PR_CONNECT_RESET_ERROR

   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.'

Asked by Rug8Int 2 days ago

Last reply by cor-el 1 day ago

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… (read more)

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

Asked by raledj 1 day ago

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… (read more)

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

Asked by smu.uludgn 1 day ago

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… (read more)

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.

Asked by Kurai 2 days ago

My history only goes back to January 19, 2023

I was looking for an item that would be a couple of years back in my history, only to discover that my history now only goes back a year and 3 months… Exactly, as of toda… (read more)

I was looking for an item that would be a couple of years back in my history, only to discover that my history now only goes back a year and 3 months… Exactly, as of today, I don't know if that's meaningful. Does anyone have any idea what might've happened, and how I can restore the rest of my history? Thank you!

I'm on a Mac using Mojave, with Firefox version 115.8.

Asked by Lisa Smith 2 weeks ago

Last reply by TechHorse 2 days ago

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… (read more)

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!

Asked by faina.daniel 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 2 days ago

PDF loading is very slow

I am using Firefox v125.0.2. When I open a PDF in Firefox it takes a lot of time to load. But, when the same PDF opened in the Edge browser it loads normally and scrollin… (read more)

I am using Firefox v125.0.2. When I open a PDF in Firefox it takes a lot of time to load. But, when the same PDF opened in the Edge browser it loads normally and scrolling through PDF pages renders fast. I have shared the screenshot of a single-page pdf loading taking quite a long time.

Could someone please help me with this.

Asked by avisekn 1 week ago

Last reply by jonzn4SUSE 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 3 days ago