fix: add frame navigation logic in place of load
This commit is contained in:
@@ -407,9 +407,9 @@ export class RemoteBrowser {
|
||||
this.socket.emit('urlChanged', this.currentPage.url());
|
||||
}
|
||||
});
|
||||
this.currentPage.on('load', (page) => {
|
||||
this.socket.emit('urlChanged', page.url());
|
||||
})
|
||||
// this.currentPage.on('load', (page) => {
|
||||
// this.socket.emit('urlChanged', page.url());
|
||||
// })
|
||||
this.client = await this.currentPage.context().newCDPSession(this.currentPage);
|
||||
await this.subscribeToScreencast();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user