Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: playwrightUtils.infiniteScroll #1543

Merged
merged 2 commits into from
Sep 19, 2022
Merged

Conversation

barjin
Copy link
Contributor

@barjin barjin commented Sep 18, 2022

related to #1528

@@ -308,4 +444,5 @@ export const playwrightUtils = {
gotoExtended,
blockRequests,
parseWithCheerio,
infiniteScroll,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also need to add it to the PlaywrightContextUtils interface (so it gets added to the crawling context type automatically) plus register it there in the registerUtilsToContext function, both just above this variable

@B4nan B4nan merged commit 60c8289 into master Sep 19, 2022
@B4nan B4nan deleted the feat/playwrightInfiniteScroll branch September 19, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants