mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add logging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
101e1ec7b6
commit
6f5a0284d5
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user