New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start Firefox 62 with extensions #6548
Comments
I am able to verify the issue you are seeing. No other way other than using Firefox 61 seems to help. |
Is this a selenium issue, geckodriver issue or firefox issue? If ff 61 works, I guess some security stuff in ff 62? |
Figured it out ... The xpi files are extracted in the extensions folder. I just downloaded the sources, the Install method for xpi's should not be extracting the xpi, but simply copying the xpi. I altered FirefoxExtension.cs to copy the xpi file. Now it works. I don't know if that will work for older versions of firefox. I only have the latest version installed. I am a little reluctant to cerate a PR. This is my change to get it working:
|
Even better ...... this works without changing code, I am installing "I Don't Care About Cookies" xpi file. Just prepare a directory with the extension already present.
|
as a temporary workaround run following c# method to add a debugging extension. This only works if a webdriver session for firefox has been created.
The code displayed should only be something to guide you. You obviously would need to fit it to your project's structure. But this is how I manage to add my extension since the version where I was no longer able to (FF 48). It still runs well to this day. |
Further, we recommend using the driver method after starting the session, rather than working with profile. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
OS: Windows 10
Selenium Version: Selenium 3.14
Browser: Firefox 62
Browser Version: 62.0.3 (64-bits)
Geckodriver: 0.23, 0.22, 0.21, 0.20
Expected Behavior -
Working firefox with extension enabled
Actual Behavior -
No extensions enabled
Steps to reproduce -
Create a Firefox driver using the follwoing code, and check if the extension is loaded
The text was updated successfully, but these errors were encountered: