Hover on element is not working
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 1.8k
- Forks
- 570
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 24
Descripción
Environment:
Appium-Python-Client 2.11.1
Windows desktop app,
My Env is Ok, since I have done many automation work
I want to hover on element, I have tried:
ActionChains(self.driver).move_to_element(ele).perform(),
I got an exception:
> raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
E selenium.common.exceptions.UnknownMethodException: Message: Currently only pen and touch pointer input source types are supported
E Stacktrace:
E UnsupportedOperationError: Currently only pen and touch pointer input source types are supported
then I tried:
TouchAction(self.driver).move_to(ele).perform(), I found it directly click the target instead of hover on it!
then I tried:
ActionChains(self.driver).w3c_actions.pointer_action.move_to(ele), and it do not work
Is there any other method to achieve this?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo los intentos de hover reportados con Appium-Python-Client 2.11.1 en la aplicación de escritorio de Windows, centrándote en ActionChains, TouchAction y w3c_actions.pointer_action.move_to. Comprueba la UnknownMethodException reportada y si TouchAction hace clic en lugar de hacer hover; se considera terminado cuando un método compatible hace hover sobre el objetivo sin hacer clic.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- desktop-dev, testing
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100