Interface: WebExtConfig
Source: packages/wxt/src/types.ts:1223
Options for how web-ext starts the browser.
Contents
Properties
binaries?
optionalbinaries?:Record<string,string>
Source: packages/wxt/src/types.ts:1242
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:1270
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
chromiumPort?
optionalchromiumPort?:number
Source: packages/wxt/src/types.ts:1264
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:1259
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:1246
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#chromium-profile
disabled?
optionaldisabled?:boolean
Source: packages/wxt/src/types.ts:1230
Whether or not to open the browser with the extension installed in dev mode.
Default
falsefirefoxArgs?
optionalfirefoxArgs?:string[]
Source: packages/wxt/src/types.ts:1268
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
firefoxPref?
optionalfirefoxPref?:Record<string,string|number|boolean>
Source: packages/wxt/src/types.ts:1266
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
firefoxProfile?
optionalfirefoxProfile?:string
Source: packages/wxt/src/types.ts:1244
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#firefox-profile
keepProfileChanges?
optionalkeepProfileChanges?:boolean
Source: packages/wxt/src/types.ts:1274
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#keep-profile-changes
openConsole?
optionalopenConsole?:boolean
Source: packages/wxt/src/types.ts:1232
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#browser-console
openDevtools?
optionalopenDevtools?:boolean
Source: packages/wxt/src/types.ts:1234
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#devtools
startUrls?
optionalstartUrls?:string[]
Source: packages/wxt/src/types.ts:1272
See
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
Generated using typedoc-plugin-markdown and TypeDoc