Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

295
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda