Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

utils.d.ts 1.9KB

12345678910111213141516171819202122232425
  1. /// <reference types="@wdio/protocols" />
  2. /// <reference types="webdriver" />
  3. import type { Logger } from '@wdio/logger';
  4. import type { ElementHandle } from 'puppeteer-core/lib/cjs/puppeteer/common/JSHandle';
  5. import type { Browser } from 'puppeteer-core/lib/cjs/puppeteer/common/Browser';
  6. import type { Frame } from 'puppeteer-core/lib/cjs/puppeteer/common/FrameManager';
  7. import type { Page } from 'puppeteer-core/lib/cjs/puppeteer/common/Page';
  8. import type { Priorities } from './finder/firefox';
  9. import type DevToolsDriver from './devtoolsdriver';
  10. export declare const validate: (command: string, parameters: WDIOProtocols.CommandParameters[], variables: WDIOProtocols.CommandPathVariables[], ref: string, args: any[]) => Record<string, any>;
  11. export declare function getPrototype(commandWrapper: Function): Record<string, {
  12. value: Function;
  13. }>;
  14. export declare function findElement(this: DevToolsDriver, context: Frame | Page | ElementHandle, using: string, value: string): Promise<WebDriver.ElementReference | Error>;
  15. export declare function findElements(this: DevToolsDriver, context: Page | Frame | ElementHandle, using: string, value: string): Promise<WebDriver.ElementReference[]>;
  16. export declare function sanitizeError(err: Error): Error;
  17. export declare function transformExecuteArgs(this: DevToolsDriver, args?: any[]): Promise<ElementHandle | any>;
  18. export declare function transformExecuteResult(this: DevToolsDriver, page: Page, result: any | any[]): Promise<any>;
  19. export declare function getStaleElementError(elementId: string): Error;
  20. export declare function getPages(browser: Browser, retryInterval?: number): Promise<Page[]>;
  21. export declare function sort(installations: string[], priorities: Priorities[]): string[];
  22. export declare function uniq(arr: string[]): string[];
  23. export declare function findByWhich(executables: string[], priorities: Priorities[]): string[];
  24. export declare function patchDebug(scoppedLogger: Logger): void;
  25. //# sourceMappingURL=utils.d.ts.map