Skip to content

Commit

Permalink
reverting syntax change
Browse files Browse the repository at this point in the history
  • Loading branch information
BatMiles committed Aug 2, 2024
1 parent 056f0c2 commit ee01f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const collect = async (inUrl: string, args: CollectorOptions) => {
};
}
logger.info(`Started Puppeteer with pid ${browser.process().pid}`);
page = await browser.newPage();
page = (await browser.pages())[0];
output.browser = {
name: 'Chromium',
version: await browser.version(),
Expand Down

0 comments on commit ee01f3e

Please sign in to comment.