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

Touch scroll for a element inside a popup dialog. #902

Closed
sheldondz opened this issue Jul 11, 2023 · 1 comment
Closed

Touch scroll for a element inside a popup dialog. #902

sheldondz opened this issue Jul 11, 2023 · 1 comment
Labels
question Questions related to rod

Comments

@sheldondz
Copy link

sheldondz commented Jul 11, 2023

Rod Version: v0.113.4

Currently using Rod for some web scraping activity to understand user reviews for a brand

One of the websites we trying to scrape the UI has a button "see all reviews" which popups up a dialog, the listing of reviews inside the dialog is infinite scrollable via touch only to load more reviews.

Wanted to know more on how we can use the touch scroll here to load more reviews.

@sheldondz sheldondz added the question Questions related to rod label Jul 11, 2023
@ysmood
Copy link
Member

ysmood commented Jul 11, 2023

For example:

page.MustElement(".elem").MustHover()
page.Mouse.MustScroll(0, 300)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions related to rod
Projects
None yet
Development

No branches or pull requests

2 participants