Skip to content

Commit

Permalink
try to fix protocol timout
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Oct 17, 2024
1 parent a5f849a commit bb247d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/render-fidelity-tools/src/artifact-creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,11 @@ export class ArtifactCreator {
if (this.browser == undefined) {
console.log(`🚀 Launching browser`);
this.browser =
await puppeteer.launch({headless: quiet, protocolTimeout: 1000000});
await puppeteer.launch({headless: quiet, protocolTimeout: 0});
this.pagePromise = this.browser.newPage();
}

const page = await this.pagePromise as Page;
page.setDefaultTimeout(1000000);
this.pagePromise = undefined;

const url = `${this.baseUrl}?hide-ui&config=../../config.json&scenario=${
Expand Down

0 comments on commit bb247d2

Please sign in to comment.