intoli / remote-browser

A low-level browser automation framework built on top of the Web Extensions API standard.
Other
1.74k stars 105 forks source link

Failed to load extension from:. Manifest file is missing or unreadable #60

Closed 6be709c0 closed 6 years ago

6be709c0 commented 6 years ago

Hi, I'm having an issue trying the package.

The code is taken from the example.

const Browser = require('remote-browser').Browser;

(async () => {
  // Create and launch a new browser instance.
  const browser = new Browser();
  await browser.launch();

  // Directly access the Web Extensions API from a remote client.
  const tab = await browser.tabs.create({ url: 'https://intoli.com' });
  const screenshot = await browser.tabs.captureVisibleTab();
})();

I use macOs, firefox is my default browser. However, when I start with 'node index.js', Chrome is launched, and I receive the following error : Failed to load extension from:. Manifest file is missing or unreadable

sangaline commented 6 years ago

@mlescaudron Thanks for reporting this! The issue should be resolved if you update the library to v0.0.6. Let me know if you're still experiencing any problems and I'll reopen this.