FirefoxExtensions
@openpolyfill/firefox-addon-playwright-harness
@openpolyfill/firefox-addon-playwright-harness / FirefoxExtensions
Interface: FirefoxExtensions
Defined in: src/types.ts:117
Read-only Map-like view of installed extensions, keyed by Gecko extension ID.
Extends
ReadonlyMap<string,FirefoxExtension>
Properties
size
readonlysize:number
Defined in: node_modules/typescript/lib/lib.es2015.collection.d.ts:59
Inherited from
ReadonlyMap.size
Methods
[iterator]()
[iterator]():
MapIterator<[string,FirefoxExtension]>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:163
Returns an iterable of entries in the map.
Returns
MapIterator<[string, FirefoxExtension]>
Inherited from
ReadonlyMap.[iterator]
entries()
entries():
MapIterator<[string,FirefoxExtension]>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:168
Returns an iterable of key, value pairs for every entry in the map.
Returns
MapIterator<[string, FirefoxExtension]>
Inherited from
ReadonlyMap.entries
forEach()
forEach(
callbackfn,thisArg?):void
Defined in: node_modules/typescript/lib/lib.es2015.collection.d.ts:56
Parameters
callbackfn
(value, key, map) => void
thisArg?
any
Returns
void
Inherited from
ReadonlyMap.forEach
get()
get(
key):FirefoxExtension|undefined
Defined in: node_modules/typescript/lib/lib.es2015.collection.d.ts:57
Parameters
key
string
Returns
FirefoxExtension | undefined
Inherited from
ReadonlyMap.get
has()
has(
key):boolean
Defined in: node_modules/typescript/lib/lib.es2015.collection.d.ts:58
Parameters
key
string
Returns
boolean
Inherited from
ReadonlyMap.has
install()
install(
path):Promise<FirefoxExtension>
Defined in: src/types.ts:119
Install a directory or XPI into the running Firefox instance.
Parameters
path
string
Returns
Promise<FirefoxExtension>
keys()
keys():
MapIterator<string>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:173
Returns an iterable of keys in the map
Returns
MapIterator<string>
Inherited from
ReadonlyMap.keys
values()
values():
MapIterator<FirefoxExtension>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:178
Returns an iterable of values in the map
Returns
MapIterator<FirefoxExtension>
Inherited from
ReadonlyMap.values