Home > @rushstack/playwright-browser-tunnel > LaunchOptionsValidator > addToAllowlistAsync
LaunchOptionsValidator.addToAllowlistAsync() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Adds an option to the allowlist.
Signature:
static addToAllowlistAsync(option: keyof LaunchOptions): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
option | keyof LaunchOptions |
Returns:
Promise<void>