mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
101e1ec7b6
commit
6f5a0284d5
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user