| 71 | } |
| 72 | |
| 73 | export interface RemotePage { |
| 74 | click: (selectorOrElement: string | Element, options?: ClickOptions) => Promise<void>; |
| 75 | check: Page['check']; |
| 76 | dblclick: Page['dblclick']; |
| 77 | bringToFront: Page['bringToFront']; |
| 78 | dragAndDrop: Page['dragAndDrop']; |
| 79 | inputValue: Page['inputValue']; |
| 80 | fill: Page['fill']; |
| 81 | focus: Page['focus']; |
| 82 | hover: Page['hover']; |
| 83 | screenshot: Page['screenshot']; |
| 84 | selectOption: Page['selectOption']; |
| 85 | setInputFiles: Page['setInputFiles']; |
| 86 | tap: Page['tap']; |
| 87 | press: Page['press']; |
| 88 | reload: (...args: Parameters<Page['reload']>) => Promise<Base64>; |
| 89 | waitForRequest(...args: Parameters<Page['waitForRequest']>): Promise<{ |
| 90 | url: string; |
| 91 | method: string; |
| 92 | headers: Record<string, string>; |
| 93 | postData: string; |
| 94 | }>; |
| 95 | waitForResponse(...args: Parameters<Page['waitForResponse']>): Promise<{ |
| 96 | body: string; |
| 97 | headers: Record<string, string>; |
| 98 | status: number; |
| 99 | url: string; |
| 100 | }>; |
| 101 | waitForSelector(...args: Parameters<Page['waitForSelector']>): Promise<void>; |
| 102 | ['keyboard.type']: Page['keyboard']['type']; |
| 103 | ['keyboard.press']: Page['keyboard']['press']; |
| 104 | ['mouse.wheel']: Page['mouse']['wheel']; |
| 105 | ['mouse.click']: Page['mouse']['click']; |
| 106 | ['mouse.dblclick']: Page['mouse']['dblclick']; |
| 107 | ['mouse.down']: Page['mouse']['down']; |
| 108 | ['mouse.up']: Page['mouse']['up']; |
| 109 | ['mouse.move']: Page['mouse']['move']; |
| 110 | } |
| 111 | |
| 112 | const ListOfActions = [ |
| 113 | 'click', |
no outgoing calls
no test coverage detected