Skip to content
On this page

API Reference - fake-browser

@webext-core/fake-browser

FakeBrowser

ts
type FakeBrowser = BrowserOverrides & Browser;

The standard Browser interface from webextension-polyfill, but with additional functions for triggering events and reseting state.

fakeBrowser

ts
const fakeBrowser: FakeBrowser;

An in-memory implementation of the browser global.




API reference generated by plugins/typescript-docs.ts

Released under the MIT License.