(error: unknown, uid: string)
| 34 | ); |
| 35 | |
| 36 | function handleActionError(error: unknown, uid: string) { |
| 37 | logger?.('failed to act using a locator', error); |
| 38 | throw new Error( |
| 39 | `Failed to interact with the element with uid ${uid}. The element did not become interactive within the configured timeout.`, |
| 40 | { |
| 41 | cause: error, |
| 42 | }, |
| 43 | ); |
| 44 | } |
| 45 | |
| 46 | async function selectNativeSelectOption(handle: ElementHandle<Element>) { |
| 47 | const selectHandle = await handle.evaluateHandle(node => { |
no outgoing calls
no test coverage detected
searching dependent graphs…