e2ed
Version:
E2E testing framework over Playwright
9 lines (8 loc) • 322 B
TypeScript
import type { Locator } from '@playwright/test';
import type { Selector } from '../types/internal';
type Options = Parameters<Locator['screenshot']>[0];
/**
* Takes a screenshot of the specified element.
*/
export declare const takeElementScreenshot: (selector: Selector, options?: Options) => Promise<void>;
export {};