UNPKG

playwright-fluent

Version:
7 lines (6 loc) 563 B
import { SelectorFluent } from '../../selector-api'; import { WaitUntilOptions } from '../../utils'; import { AssertOptions } from '../../fluent-api'; import { Frame, Page } from 'playwright'; export declare function hasClass(selector: string | SelectorFluent, expectedClass: string, page: Page | Frame | undefined, options?: Partial<WaitUntilOptions>): Promise<boolean>; export declare function expectThatSelectorHasClass(selector: string | SelectorFluent, expectedClass: string, page: Page | Frame | undefined, options?: Partial<AssertOptions>): Promise<void>;