Add logging

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-10-04 11:29:07 -04:00
1 parent 101e1ec7b6
commit 6f5a0284d5
1 file changed
+2
+2
View File
@@ -26,6 +26,8 @@ async function getMainWindow(app: ElectronApplication, timeout = 50_000): Promis
const stdoutStream = new Writable(stdoutBuffer);
const handler = (page: Page) => {
console.log(`Page opened: ${page.url()}`);
if (page.url().startsWith("http://localhost")) {
cleanup();
resolve(page);