interface WebExtRunOptions {
    artifactsDir: string;
    browserConsole: boolean;
    firefox: string;
    keepProfileChanges: boolean;
    noReload: boolean;
    preInstall: boolean;
    sourceDir: string;
    pref?: {
        [key: string]: boolean | number | string;
    };
    firefoxProfile?: string;
    ignoreFiles?: string[];
    noInput?: boolean;
    watchFile?: string;
    startUrl?: string[];
    target?: string[];
    args?: string[];
    adbBin?: string;
    adbHost?: string;
    adbPort?: string;
    adbDevice?: string;
    adbDiscoveryTimeout?: number;
    firefoxApk?: string;
    firefoxApkComponent?: string;
    chromiumBinary?: string;
    chromiumProfile?: string;
}

Properties

artifactsDir: string

The directory where packages are copied to.

browserConsole: boolean

Show the browser console on startup

firefox: string

Location of firefox executable.

keepProfileChanges: boolean

Persist user profile changes to disk.

noReload: boolean

Turn off reloading when watching files.

preInstall: boolean

Used for older versions of firefox to preinstall your extension before running.

sourceDir: string

Directory where your application files will be built to.

pref?: {
    [key: string]: boolean | number | string;
}

Firefox preferences overrides.

firefoxProfile?: string

Location of firefox user profile folder.

ignoreFiles?: string[]

Array of files to ignore when building/watching/linting.

noInput?: boolean

Mark this session as non-interactive.

watchFile?: string

Watch additional files outside of the source directory.

startUrl?: string[]

URL to navigate to on startup.

target?: string[]

Browser(s) to use for testing.

args?: string[]

Arguments to pass to target browsers.

adbBin?: string

Executable for android's debugging instance.

adbHost?: string

Remote hostname for an ADB socket.

adbPort?: string

Remote port for an ADB socket.

adbDevice?: string

Remote target for ADB.

adbDiscoveryTimeout?: number

Time to wait for ADB's initial handshake to be successful.

firefoxApk?: string

Application package to use for testing Firefox on Android.

firefoxApkComponent?: string

Custom view name to control on Android.

chromiumBinary?: string

Path to custom chromium binary.

chromiumProfile?: string

Path to custom chromium user profile.