Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/playwright-browser-tunnel > LaunchOptionsValidator > validateLaunchOptionsAsync

LaunchOptionsValidator.validateLaunchOptionsAsync() 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.

Validates launch options against the security allowlist. All launch options are denied by default unless explicitly allowed by the user.

Signature:

static validateLaunchOptionsAsync(launchOptions: LaunchOptions, terminal?: ITerminal): Promise<ILaunchOptionsValidationResult>;

Parameters

Parameter

Type

Description

launchOptions

LaunchOptions

The launch options to validate

terminal

ITerminal

(Optional) Optional terminal for logging warnings

Returns:

Promise<ILaunchOptionsValidationResult>

Validation result with filtered options and warnings