(params: SelectorRuntimeDeviceParams, text: string)
| 155 | } |
| 156 | |
| 157 | async function findText(params: SelectorRuntimeDeviceParams, text: string): Promise<boolean> { |
| 158 | const macosSurfaceResult = await findTextInMacosNonAppSurface(params, text); |
| 159 | if (macosSurfaceResult !== null) return macosSurfaceResult; |
| 160 | const appleRunnerResult = await findTextWithAppleRunner(params, text); |
| 161 | if (appleRunnerResult !== null) return appleRunnerResult; |
| 162 | return await findTextInWaitSnapshot(params, text); |
| 163 | } |
| 164 | |
| 165 | async function findTextInMacosNonAppSurface( |
| 166 | params: SelectorRuntimeDeviceParams, |
no test coverage detected