Merge pull request #170 from getmaxun/browser-render-fix

fix: remote browser rendering
This commit is contained in:
Karishma Shukla
2024-11-15 04:47:00 +05:30
committed by GitHub

View File

@@ -307,6 +307,7 @@ export class RemoteBrowser {
const workflow = this.generator.AddGeneratedFlags(this.generator.getWorkflowFile());
await this.initializeNewPage();
if (this.currentPage) {
this.currentPage.setViewportSize({ height: 400, width: 900 });
const params = this.generator.getParams();
if (params) {
this.interpreterSettings.params = params.reduce((acc, param) => {