Home > @rushstack/playwright-browser-tunnel > LaunchOptionsValidator > readAllowlistAsync
LaunchOptionsValidator.readAllowlistAsync() 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.
Reads the allowlist from the user's local file system. Returns an empty allowlist if the file doesn't exist or is invalid.
Signature:
static readAllowlistAsync(): Promise<ILaunchOptionsAllowlist>;
Returns:
Promise<ILaunchOptionsAllowlist>