question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Firefox WebExtensions

See original GitHub issue

Mozilla introduced new WebExtensions API, which works already in Firefox Nightly. The old CPOWs extensions will be deprecated.

Trying to load an extension to Firefox Nightly, Seenium tries to find install.rdf, which doesn’t exist anymore.

    var firefox = require('selenium-webdriver/firefox');
    var binary = new firefox.Binary('/Applications/FirefoxNightly.app/Contents/MacOS/firefox');
    var profile = new firefox.Profile();
    profile.addExtension('./build/firefox');
    var options = new firefox.Options()
      .setProfile(profile)
      .setBinary(binary);
    this.driver = new firefox.Driver(options);

Any plans to support the new extension format for firefox?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alexristichcommented, Dec 20, 2016

@cmolocznik I’m new to Selenium, so I’m not too familiar with the project structure. Where would your workaround be placed in order to be functional?

0reactions
jleybacommented, Apr 24, 2017

Fixed by 2f1df982c0905e3594588cdcc902cd2d33aa66c7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Browser Extensions - Mozilla - MDN Web Docs
The technology for extensions in Firefox is, to a large extent, compatible with the extension API supported by Chromium-based browsers (such as ...
Read more >
WebExtensions/FAQ - MozillaWiki
Yes. WebExtension Experiments allow you to expose and test almost any feature as a new WebExtensions API without having to build Firefox. It...
Read more >
WebExtensions - MozillaWiki
This page is an introduction to Mozilla's implementation of WebExtensions, a new browser extension API; a cross-browser system for developing extensions.
Read more >
Extensions – Add-ons for Firefox (en-US)
Download Firefox Extensions to add features that customize browsing. Protect passwords, find deals, enhance video, and block annoying ads with browser apps.
Read more >
Chrome incompatibilities - Mozilla - MDN Web Docs
As a porting aid, the Firefox implementation of WebExtensions supports chrome , using callbacks, as well as browser , using promises.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found