UNPKG

playwright-pom-materials

Version:

Playwright POM materials

14 lines 547 B
import { Locator, Page } from '@playwright/test'; import { Selectable, SelectableOptions } from './Selectable'; export type SelectableArgs = string | [string, SelectableOptions?]; export declare class RadioButtons<Button extends string = string> { private readonly locator; private readonly selectorFunc; constructor(locator: Page | Locator, selectors: { (key: Button): SelectableArgs; } | { [key in Button]: SelectableArgs; }); button(name: Button): Selectable; } //# sourceMappingURL=RadioButtons.d.ts.map