@webext-core/fake-browser

An in-memory implementation of webextension-polyfill for testing. Supports all test frameworks (Vitest, Jest, etc)


Keywords
web-extension, browser-extension, chrome-extension, webext, web-ext, chrome, firefox, safari, browser, extension, testing, vite, jest, mock, fake, webextension-polyfill, safari-extension
License
MIT
Install
npm install @webext-core/fake-browser@1.2.2

Documentation

webext-core

Validate

A set of core libraries and tools for building web extensions. These libraries are built on top of webextension-polyfill and support all browsers.

Documentation

To get started, checkout the documentation website.