API > wxt > ExtensionRunnerConfig
Interface: ExtensionRunnerConfig
Configure how the browser starts up.
Contents
Properties
binaries
binaries?:
Record
<string
,string
>
List of browser names and the binary that should be used to open the browser.
See
- https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#chromium-binary
- https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#firefox
Source
packages/wxt/src/types/index.ts:897
chromiumArgs
chromiumArgs?:
string
[]
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
Source
packages/wxt/src/types/index.ts:948
chromiumPort
chromiumPort?:
number
By default, chrome opens a random port for debugging. Set this value to use a specific port.
Source
packages/wxt/src/types/index.ts:936
chromiumPref
chromiumPref?:
string
An map of chrome preferences from https://chromium.googlesource.com/chromium/src/+/main/chrome/common/pref_names.h
Example
// change your downloads directory
{
download: {
default_directory: "/my/custom/dir",
},
}
Default
// Enable dev mode and allow content script sourcemaps
{
devtools: {
synced_preferences_sync_disabled: {
skipContentScripts: false,
},
}
extensions: {
ui: {
developer_mode: true,
},
}
}
Source
packages/wxt/src/types/index.ts:932
chromiumProfile
chromiumProfile?:
string
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#chromium-profile
Source
packages/wxt/src/types/index.ts:905
disabled
disabled?:
boolean
Whether or not to open the browser with the extension installed in dev mode.
Default
false
Source
packages/wxt/src/types/index.ts:882
firefoxArgs
firefoxArgs?:
string
[]
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
Source
packages/wxt/src/types/index.ts:944
firefoxPrefs
firefoxPrefs?:
Record
<string
,string
>
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
Source
packages/wxt/src/types/index.ts:940
firefoxProfile
firefoxProfile?:
string
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#firefox-profile
Source
packages/wxt/src/types/index.ts:901
keepProfileChanges
keepProfileChanges?:
boolean
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#keep-profile-changes
Source
packages/wxt/src/types/index.ts:956
openConsole
openConsole?:
boolean
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#browser-console
Source
packages/wxt/src/types/index.ts:886
openDevtools
openDevtools?:
boolean
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#devtools
Source
packages/wxt/src/types/index.ts:890
startUrls
startUrls?:
string
[]
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
Source
packages/wxt/src/types/index.ts:952
Generated using typedoc-plugin-markdown and TypeDoc