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

157
Visualizações
view the item without hovering over it

i should scrape messenger with selenium. In particular, I should make an element appear that only appears when you hover over it with the cursor. I leave some photos below.

when the cursor hovers over it

the cursor is not over the element

I'm trying to make that element appear without going over it, maybe with javascript if possible, or with some characteristics of selenium. Even hovering over it if neither of the above two options are available. Someone could help me pls. Thanks in advance.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Selenium supports simulation of mouse actions like mouse hover, mouse click etc.
To do so you will need this import:

from selenium.webdriver.common.action_chains import ActionChains

Initialize actions object

actions = ActionChains(driver)

define web element you want to hover over it, something like

button = driver.find_element_by_css_selector('button.button_class')

And then you can hover over this element with

actions.move_to_element(button).perform()
about 4 years ago · Juan Pablo Isaza Relatório
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