Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi

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 … (xem thêm)

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)

Được hỏi bởi Magdeline Ng 58 phút trước

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'… (xem thêm)

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.

Được hỏi bởi Iridium.throne 6 giờ trước

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… (xem thêm)

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.

Được hỏi bởi djrutger444 8 giờ trước

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… (xem thêm)

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

Được hỏi bởi raledj 10 giờ trước

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… (xem thêm)

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

Được hỏi bởi smu.uludgn 12 giờ trước

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… (xem thêm)

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.

Được hỏi bởi Kurai 15 giờ trước

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 … (xem thêm)

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.

Được hỏi bởi Gary Bladen 1 ngày trước

Lần cuối trả lời bởi Gary Bladen 1 ngày trước

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… (xem thêm)

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!

Được hỏi bởi faina.daniel 1 ngày trước

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… (xem thêm)

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?

Được hỏi bởi Neach 1 ngày trước

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 … (xem thêm)

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?

Được hỏi bởi bogus1 1 ngày trước

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 … (xem thêm)

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.

Được hỏi bởi ixian 2 ngày trước

Lần cuối trả lời bởi ixian 2 ngày trước

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… (xem thêm)

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

Được hỏi bởi michael.sez 2 ngày trước

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… (xem thêm)

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?

Được hỏi bởi Doug Sooley 3 ngày trước

Lần cuối trả lời bởi Doug Sooley 2 ngày trước

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… (xem thêm)

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.

Được hỏi bởi TheOld Crab 4 ngày trước

Lần cuối trả lời bởi TheOld Crab 2 ngày trước