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:1251
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
chromiumPort?
optionalchromiumPort?:number
Source: packages/wxt/src/types.ts:1245
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:1240
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",
},
}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:1249
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
firefoxPref?
optionalfirefoxPref?:Record<string,string|number|boolean>
Source: packages/wxt/src/types.ts:1247
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:1255
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:1253
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
Generated using typedoc-plugin-markdown and TypeDoc