API
API reference for @webext-core/fake-browser
.
INFO
The entire API reference is also available in your editor via JSDocs.
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