0

I have third-party website (which means read-only, I can't modify its code) where they using mouse wheel event to do the zooming for custom canvas based control inside iframe.

I'm trying to automate operations on that web page via Selenium WebDriver, webdriver itself can't emulate mouse wheel scroll event, so I'm trying to do it via JavascritExecutor. I tried all possible variations of scrolling (window.scrollBy(), .scrollTop(), .scroll()) - nothing works inside iframe and on that tricky canvas control, so I have only one option - is to simulate physical mouse wheel event somehow, non of the SO answers can help me with this.

How to simulate mouse wheel event via pure JS (browser Chrome or FF)?

P.S. JQuery also available on that website if it might help.

0 Answers0