(selector, options = {})
| 417 | } |
| 418 | |
| 419 | async function safeQuery(selector, options = {}) { |
| 420 | try { |
| 421 | return await session.query(simulatorUDID, selector, { |
| 422 | source: "native-ax", |
| 423 | ...options, |
| 424 | }); |
| 425 | } catch { |
| 426 | return []; |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | function looksLikeKeyboardTipQuery(snapshot) { |
| 431 | const text = JSON.stringify(snapshot); |
no test coverage detected