版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
714 B

  1. import type { Page } from 'playwright';
  2. export declare function sleep(delay: number): Promise<unknown>;
  3. export declare function getText(page: Page, selector: string, options?: Parameters<Page['locator']>[1]): Promise<string>;
  4. export declare function getData(page: Page, selector: string, options?: Parameters<Page['locator']>[1]): Promise<any>;
  5. export declare function assetLocaleHead(page: Page, headSelector: string): Promise<void>;
  6. export declare function getDom(html: string): Document;
  7. export declare function getDataFromDom(dom: Document, selector: string): any;
  8. export declare function assertLocaleHeadWithDom(dom: Document, headSelector: string): Promise<void>;
  9. //# sourceMappingURL=helper.d.ts.map