Interface: WebExtConfig
Source: packages/wxt/src/types.ts:1204
Options for how web-ext starts the browser.
Contents
Properties
binaries?
optionalbinaries?:Record<string,string>
Source: packages/wxt/src/types.ts:1223
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
chromiumArgs?
optionalchromiumArgs?:string[]
Source: packages/wxt/src/types.ts:1266
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
chromiumPort?
optionalchromiumPort?:number
Source: packages/wxt/src/types.ts:1260
By default, chrome opens a random port for debugging. Set this value to use a specific port.
chromiumPref?
optionalchromiumPref?:Record<string,any>
Source: packages/wxt/src/types.ts:1255
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,
},
}
}chromiumProfile?
optionalchromiumProfile?:string
Source: packages/wxt/src/types.ts:1227
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#chromium-profile
disabled?
optionaldisabled?:boolean
Source: packages/wxt/src/types.ts:1211
Whether or not to open the browser with the extension installed in dev mode.
Default
falsefirefoxArgs?
optionalfirefoxArgs?:string[]
Source: packages/wxt/src/types.ts:1264
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
firefoxPref?
optionalfirefoxPref?:Record<string,string|number|boolean>
Source: packages/wxt/src/types.ts:1262
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
firefoxProfile?
optionalfirefoxProfile?:string
Source: packages/wxt/src/types.ts:1225
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#firefox-profile
keepProfileChanges?
optionalkeepProfileChanges?:boolean
Source: packages/wxt/src/types.ts:1270
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#keep-profile-changes
openConsole?
optionalopenConsole?:boolean
Source: packages/wxt/src/types.ts:1213
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#browser-console
openDevtools?
optionalopenDevtools?:boolean
Source: packages/wxt/src/types.ts:1215
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#devtools
startUrls?
optionalstartUrls?:string[]
Source: packages/wxt/src/types.ts:1268
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
Generated using typedoc-plugin-markdown and TypeDoc