mouse.scrollUp/Down does not function on macOS Sequoia 15.5
Closed this issue · 1 comments
Version
4.7.0
Short overview
scrollUp/scrollDown, regardless of tick value, does not scroll.
Issue occurs on
- Virtual machine
- Docker container
- Dev/Host system
node version:
20.11.1
OS type and version:
macOS 15.5
Detailed error description
Attempting to use mouse.scrollUp/Down on Safari. It momentarily causes the scroll bar to appear on the side of the browser, but does not actually scroll at all. I briefly tried it in other tools, and does not appear to work in those either. mouse.click and mouse.move work fine.
Full code sample to reproduce
Any basic mouse scroll call. Each one triggers the scrollbar becoming momentarily visible in Safari, but that's it:
await new Promise(resolve => setTimeout(resolve, 1000))
await mouse.scrollDown(1)
await new Promise(resolve => setTimeout(resolve, 1000))
await mouse.scrollDown(1)
await new Promise(resolve => setTimeout(resolve, 1000))
await mouse.scrollUp(1)
await new Promise(resolve => setTimeout(resolve, 1000))
await mouse.scrollUp(1)
await new Promise(resolve => setTimeout(resolve, 1000))Additional content
Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)
Nevermind. The scrolling was just at such a small scale I couldn't notice it. Appears to be per pixel.