Hover on element is not working
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 570
- Merge medio
- 1g 10h
- PR unite (30g)
- 24
Descrizione
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo i tentativi di hover segnalati con Appium-Python-Client 2.11.1 sull’app desktop Windows, concentrandoti su ActionChains, TouchAction e w3c_actions.pointer_action.move_to. Verifica la UnknownMethodException segnalata e se TouchAction fa clic invece di eseguire l’hover; il lavoro è completato quando un metodo supportato esegue l’hover sul target senza fare clic.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- desktop-dev, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100