intoli / remote-browser

A low-level browser automation framework built on top of the Web Extensions API standard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

6be709c0 opened this issue · comments

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

@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.