I decided to biuld this, as didn't find single plain JavaScript script that actually works. Either that, or those would need whole jQuery with plugins for mouse scroll and stuff... This script is ...
In some browser automation flows, you may need to scroll on web pages to make specific elements visible on the screen. Power Automate allows scrolling on web pages through two different approaches.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results