javascript - simulate key and trackpad events nightwatch -


i need simulate scrolling using mouse wheel , trackpad. there way in can in nightwatch or javascript?the nightwatch documentation not have mentioned mousewheel , trackpad.any guidance in issue of great :)

use window.scrollby(x,y)

change x horizontal , y vertical scroll increments


Comments

Popular posts from this blog

javascript - Replicate keyboard event with html button -

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

Ansible warning on jinja2 braces on when -