add more logs
This commit is contained in:
@@ -732,12 +732,16 @@ class CommandorPage {
|
|||||||
browserWSEndpoint: "ws://127.0.0.1:" + this.port + "/devtools/browser",
|
browserWSEndpoint: "ws://127.0.0.1:" + this.port + "/devtools/browser",
|
||||||
headless: false, defaultViewport: null
|
headless: false, defaultViewport: null
|
||||||
})
|
})
|
||||||
|
logWithDevice("get pages", this.device)
|
||||||
|
|
||||||
let pages = await this.browser.pages();
|
let pages = await this.browser.pages();
|
||||||
pages.forEach((currentPage) => {
|
pages.forEach((currentPage) => {
|
||||||
if (currentPage.url() === RDV_URL) {
|
if (currentPage.url() === RDV_URL) {
|
||||||
this.page = currentPage;
|
this.page = currentPage;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
logWithDevice("this.page.bringToFront();", this.device)
|
||||||
|
|
||||||
await this.page.bringToFront();
|
await this.page.bringToFront();
|
||||||
// this.page = pages;
|
// this.page = pages;
|
||||||
// this.page.await
|
// this.page.await
|
||||||
|
|||||||
Reference in New Issue
Block a user