fix: revert ALL new browser changes
This commit is contained in:
@@ -275,7 +275,7 @@ export class RemoteBrowser {
|
|||||||
if (page) {
|
if (page) {
|
||||||
await this.stopScreencast();
|
await this.stopScreencast();
|
||||||
this.currentPage = page;
|
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.client = await this.currentPage.context().newCDPSession(this.currentPage);
|
||||||
this.socket.emit('urlChanged', this.currentPage.url());
|
this.socket.emit('urlChanged', this.currentPage.url());
|
||||||
await this.makeAndEmitScreenshot();
|
await this.makeAndEmitScreenshot();
|
||||||
|
|||||||
Reference in New Issue
Block a user