fix: revert ALL new browser changes

This commit is contained in:
karishmas6
2024-10-11 23:12:18 +05:30
parent 1b21df92af
commit 9ee7afc353

View File

@@ -275,7 +275,7 @@ export class RemoteBrowser {
if (page) {
await this.stopScreencast();
this.currentPage = page;
await this.currentPage.setViewportSize({ height: 720, width: 1280 })
await this.currentPage.setViewportSize({ height: 500, width: 1280 })
this.client = await this.currentPage.context().newCDPSession(this.currentPage);
this.socket.emit('urlChanged', this.currentPage.url());
await this.makeAndEmitScreenshot();