e2ed
Version:
E2E testing framework over Playwright
9 lines (8 loc) • 346 B
TypeScript
import type { Locator } from '@playwright/test';
import type { Selector } from '../types/internal';
type Options = Parameters<Locator['selectOption']>[1];
/**
* Selects an `option` in `select` element.
*/
export declare const selectOption: (selector: Selector, value: string | readonly string[], options?: Options) => Promise<void>;
export {};