jonhoo / fantoccini

A high-level API for programmatically interacting with web pages through WebDriver.
Apache License 2.0
1.68k stars 125 forks source link

WheelActions needed #235

Closed KirDontsov closed 10 months ago

KirDontsov commented 1 year ago

Hi, thx for a grate solution for chromdriver!

But can you provide a solution for scroll a div container to the bottom, via mouse wheel actions, and a small example how to use it?

jonhoo commented 1 year ago

Ah, wheel actions already exist in 0.20, the final stable version of that just hasn't been released yet! Give 0.20.0-rc.7 a try and generate an ActionSequence that includes a WheelAction::Scroll.

This functionality landed in #216, so maybe @jaboatman can give you a good usage example?

jonhoo commented 10 months ago

Going to close this one since the functionality exists. Always happy to take PRs to improve the docs though!