Skip to main content
Version: 1.x

Function: selectVariant()

selectVariant(page, variantName, options?): Promise<void>

Defined in: src/fe/list-report.ts:372

Selects a variant by name on the List Report page.

Parameters

page

ListReportPage

Playwright Page (or compatible subset).

variantName

string

The display name of the variant to select.

options?

ListReportOptions

Optional timeout and stability settings.

Returns

Promise<void>

Intent

Select a saved view variant by its display name on the List Report.

Throws

ControlError if VariantManagement is not found or variant name does not exist.

Example

await selectVariant(page, 'My Saved View');