Mouse / Wheel Scrolling
See original GitHub issuei was wondering if there is a similar function like Mouse.WheelAsync(x,y)
as in PuppeteerSharp
in Mouse.cs https://github.com/hardkoded/puppeteer-sharp/blob/4c7a0bbf96a0cba7edec5c76bf7528fb4f5312d8/lib/PuppeteerSharp/Input/Mouse.cs#L139
Or do we have an other mechanism to simulate scrolling on a page?
thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Why Your Mouse Wheel Is Scrolling the Wrong Way and ...
Why Your Mouse Wheel Is Scrolling the Wrong Way and How to Fix It · 1. Just Blow the Dust Away · 2....
Read more >What to Do If Your Mouse Scroll Wheel Jumps in Windows ...
Similarly, go to Control Panel > Mouse. 2. Under the Wheel tab, turn down the scroll speed. 3. Go to the Pointer Options...
Read more >Mouse wheel "jumps" in opposite direction when scrolling
I looked for solutions online, and I found a suggestion to blow compressed air into the spaces next to the scroll wheel. The...
Read more >How to Fix It When Your Mouse Scroll Is Not Working
When the mouse won't scroll, there are two issues that most commonly cause it. The first is dust and dirt causing mechanical issues...
Read more >Mouse wheel scrolls the page down then up, or up then down
No, really: it happened to me many, many times, and the cause so far has always been dust inside the mouse. It gets...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks for the info - i will have a look in the upstream. In my case i would simulate mouse wheel scrolling, without a reference to a specific DOM element.
currently i’m using this script to achieve this - where
x
andy
are my scrolling deltas:page.EvaluateAsync($"window.scroll(window.scrollX + {x}, window.scrollY + {y})");
Folding into https://github.com/microsoft/playwright/issues/1115