UNPKG

e2ed

Version:

E2E testing framework over Playwright

7 lines (6 loc) 287 B
import type { Selector } from '../../types/internal'; /** * Returns `true`, if the selector is entirely in the viewport * (all selector points are in the viewport), and `false` otherwise. */ export declare const isSelectorEntirelyInViewport: (selector: Selector) => Promise<boolean>;