UNPKG

@wdio/visual-service

Version:

Image comparison / visual regression testing for WebdriverIO

18 lines 1.36 kB
import type { WdioCheckFullPageMethodOptions, WdioCheckElementMethodOptions, WdioCheckScreenMethodOptions } from './types.js'; export declare function toMatchScreenSnapshot(browser: WebdriverIO.Browser | WebdriverIO.MultiRemoteBrowser, tag: string, expectedResultOrOptions?: number | ExpectWebdriverIO.PartialMatcher, optionsOrUndefined?: WdioCheckScreenMethodOptions): Promise<{ pass: boolean; message: () => string; }>; export declare function toMatchFullPageSnapshot(browser: WebdriverIO.Browser | WebdriverIO.MultiRemoteBrowser, tag: string, expectedResultOrOptions?: number | ExpectWebdriverIO.PartialMatcher, optionsOrUndefined?: WdioCheckFullPageMethodOptions): Promise<{ pass: boolean; message: () => string; }>; export declare function toMatchElementSnapshot(element: WebdriverIO.Element, tag: string, expectedResultOrOptions?: number | ExpectWebdriverIO.PartialMatcher, optionsOrUndefined?: WdioCheckElementMethodOptions): Promise<{ pass: boolean; message: () => string; }>; export declare function toMatchTabbablePageSnapshot(browser: WebdriverIO.Browser | WebdriverIO.MultiRemoteBrowser, tag: string, expectedResultOrOptions?: number | ExpectWebdriverIO.PartialMatcher, optionsOrUndefined?: WdioCheckFullPageMethodOptions): Promise<{ pass: boolean; message: () => string; }>; //# sourceMappingURL=matcher.d.ts.map