Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

298
Vistas
Simulate mouse wheel rotation via JavaScript on a Web Page

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.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda