Hover on element is not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 570
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 24
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported hover attempts with Appium-Python-Client 2.11.1 on the Windows desktop app, focusing on ActionChains, TouchAction, and w3c_actions.pointer_action.move_to. Check the reported UnknownMethodException and whether TouchAction clicks instead of hovering; done means a supported method hovers the target without clicking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100