Skip to content

Commit

Permalink
Other (web-crawler): Aligned internals to the latest Puppeteer API.
Browse files Browse the repository at this point in the history
  • Loading branch information
pomek committed Sep 23, 2024
1 parent e94009a commit d70d99f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ckeditor5-dev-web-crawler/lib/runcrawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,9 @@ function registerErrorHandlers( page, { link, onError } ) {
return argument;
};

const serializeArguments = argument => argument
.executionContext()
.evaluate( serializeArgumentInPageContext, argument );
const serializeArguments = argument => {
return argument.evaluate( serializeArgumentInPageContext, argument );
};

const serializedArguments = await Promise.all( message.args().map( serializeArguments ) );

Expand Down

0 comments on commit d70d99f

Please sign in to comment.