()
| 339 | } |
| 340 | |
| 341 | const tryReadUrl = async (): Promise<string | null> => { |
| 342 | const result = await WindowManager.readBrowserWindowUrl(browserName, windowInfo.hwnd!) |
| 343 | return typeof result === 'string' && result.trim() !== '' ? result.trim() : null |
| 344 | } |
| 345 | |
| 346 | let url = await tryReadUrl() |
| 347 | if (!url && browserName === 'chrome') { |
nothing calls this directly
no test coverage detected