UNPKG

e2ed

Version:

E2E testing framework over Playwright

7 lines (6 loc) 281 B
import type { Selector } from '../../types/internal'; /** * Returns `true`, if the selector is in the viewport * (intersects with the viewport at least in one point), and `false` otherwise. */ export declare const isSelectorInViewport: (selector: Selector) => Promise<boolean>;