Skip to content

Commit 72c96bc

Browse files
committed
Wait for cert checks before considering Firefox as started
1 parent 905c73d commit 72c96bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interceptors/fresh-firefox.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ export class FreshFirefox implements Interceptor {
301301
}
302302
});
303303

304-
// Delay the approx amount of time it normally takes Firefox to really open
305-
await delay(1000);
304+
// Wait until the cert check works before reporting success to the UI
305+
await certCheckServer.waitForSuccess();
306306
}
307307

308308
async deactivate(proxyPort: number | string) {

0 commit comments

Comments
 (0)