How to simulate middle mouse scroll in selenium?

1,348 views
Skip to first unread message

熊家继

unread,
Apr 30, 2014, 7:15:43 AM4/30/14
to seleniu...@googlegroups.com
I'm handling some SVGs in web page. I need to use middle mouse scroll to zoom in/out. But I didn't find any method to simulate mouse scroll in selenium.

David

unread,
Apr 30, 2014, 10:18:00 PM4/30/14
to seleniu...@googlegroups.com
I wanted to automate same functionality. I don't think there is native support for this in Selenium, I could be wrong.

The closest I came in online searching was this:


I haven't really debugged/tested it further but that code adapted for my framework didn't seem to work for me so far. Maybe you might have better luck.
Reply all
Reply to author
Forward
0 new messages