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.

types.d.ts 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /// <reference types="webdriverio/webdriverio-core" />
  2. /// <reference types="webdriverio" />
  3. import type cssValue from 'css-value';
  4. import type WebDriver from 'webdriver';
  5. export declare type ElementReferenceId = 'element-6066-11e4-a52e-4f735466cecf';
  6. export declare type ElementReference = Record<ElementReferenceId, string>;
  7. export interface ElementObject extends ElementReference, WebdriverIO.BrowserObject {
  8. elementId: string;
  9. ELEMENT: string;
  10. selector?: Selector;
  11. index?: number;
  12. parent: ElementObject | WebdriverIO.BrowserObject;
  13. isReactElement?: boolean;
  14. error?: Error;
  15. }
  16. export declare type WaitForOptions = {
  17. timeout?: number;
  18. interval?: number;
  19. timeoutMsg?: string;
  20. reverse?: boolean;
  21. };
  22. export declare type ElementFunction = ((elem: HTMLElement) => WebDriver.ElementReference) | ((elem: HTMLElement) => WebDriver.ElementReference[]);
  23. export declare type Selector = string | WebDriver.ElementReference | ElementFunction;
  24. interface ParsedColor extends Partial<cssValue.CSSValue> {
  25. rgb?: string;
  26. rgba?: string;
  27. }
  28. export interface ParsedCSSValue {
  29. property?: string;
  30. value?: string;
  31. parsed: ParsedColor;
  32. }
  33. interface NoneActionEntity {
  34. type: 'pause';
  35. duration: number;
  36. }
  37. interface PointerActionEntity {
  38. type: 'pointerMove' | 'pointerDown' | 'pointerUp' | 'pointerCancel' | 'pause';
  39. duration?: number;
  40. x?: number;
  41. y?: number;
  42. button?: number;
  43. }
  44. interface KeyActionEntity {
  45. type: 'keyUp' | 'keyDown';
  46. duration?: number;
  47. value?: string;
  48. }
  49. export interface Action {
  50. id: string;
  51. actions: (NoneActionEntity & PointerActionEntity & KeyActionEntity)[];
  52. type?: 'pointer' | 'key';
  53. parameters?: {
  54. pointerType: 'mouse' | 'pen' | 'touch';
  55. };
  56. }
  57. export interface ActionParameter {
  58. actions: Action[];
  59. }
  60. export interface MultiRemoteOptions {
  61. [instanceName: string]: Options;
  62. }
  63. export interface Options extends Omit<WebDriver.Options, 'capabilities'> {
  64. capabilities?: WebDriver.DesiredCapabilities | WebDriver.W3CCapabilities;
  65. automationProtocol?: 'webdriver' | 'devtools' | './protocol-stub';
  66. baseUrl?: string;
  67. waitforTimeout?: number;
  68. waitforInterval?: number;
  69. region?: 'us' | 'eu' | 'us-west-1' | 'us-east-1' | 'eu-central-1';
  70. headless?: boolean;
  71. runner?: string;
  72. }
  73. export {};
  74. //# sourceMappingURL=types.d.ts.map