Closed Bug 1745520 Opened 3 years ago Closed 3 years ago

Metamask stay blank with firefox profiles

Categories

(Core :: Networking, defect)

Firefox 95
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: vir2al, Unassigned, NeedInfo)

Details

Attachments

(1 file)

Attached image selenoium-blank.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

Is there any support for this ticket?

I have 100% repro:

when I use selenium, python, firefox so I have not working metamask with profile in Firefox. If I use default - temporary profile it works fine. But I cannot use temp profile because of I don't wan't to install metamask every run.

So when I use this code:

this code = everything work. Run, install metamask, use metamask. But I must install it again in next run.

from selenium.webdriver import Firefox

from selenium.webdriver.firefox.options import Options

options = Options()

options.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe'

browser = Firefox(options=options)

browser.get('https://www.google.com')

this code = when I use profile: Metamask stay blank / white and browser script give me error about

from selenium.webdriver import Firefox

from selenium.webdriver.firefox.options import Options

options = Options()

options.profile = webdriver.FirefoxProfile('C:\Users\xxx\AppData\Roaming\Mozilla\Firefox\Profiles\MyProfile')

options.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe'

browser = Firefox(options=options)

browser.get('https://www.google.com')

Actual results:

Browser error:

MetaMask: Content script lost connection to "MetaMask Background Multiplex". undefined contentscript.js:1:141472
MetaMask: Muxed traffic for channel "metamask-provider" failed. undefined contentscript.js:1:141384
MetaMask: Content script lost connection to "MetaMask Background Legacy Multiplex". undefined contentscript.js:1:141472
MetaMask: Muxed traffic between channels "provider" and "metamask-provider" failed. undefined contentscript.js:1:143924
MetaMask: Muxed traffic for channel "publicConfig" failed. undefined

Expected results:

When I start Firefox with selenium on specific profile, I should be able to click at metamask and use it. Not stay in blank.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core

Please file a bug with MetaMask here: https://github.com/MetaMask/metamask-extension/issues

We can triage this as a Firefox (networking?) bug if investigation on the extension side really reveals a problem that's not addressable there. Please feel free to reopen this if that turns out to be the case.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(vir2al)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: