Remove firstWindow to complete the work of 2342d04fe2

This commit is contained in:
Frank Noirot
2025-04-04 18:56:10 -04:00
parent 468c069144
commit 752518d2a4

View File

@ -154,7 +154,6 @@ export class ElectronZoo {
if (!this.electron) {
this.electron = await electron.launch(options)
this.page = await this.electron.firstWindow()
// Mac takes quite a long time to create the first window in CI.
// Turns out we can't trust firstWindow() either. So loop.
let timeoutId: ReturnType<typeof setTimeout>