UNPKG

e2ed

Version:

E2E testing framework over Playwright

9 lines (8 loc) 276 B
import type { Locator } from '@playwright/test'; import type { Selector } from '../types/internal'; type Options = Parameters<Locator['focus']>[0]; /** * Focuses an element. */ export declare const focus: (selector: Selector, options?: Options) => Promise<void>; export {};