-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hover on element is not working #888
Comments
Maybe you need to use python-client/appium/webdriver/extensions/action_helpers.py Lines 49 to 61 in b142e00
mouse .
|
@KazuCocoa I assume touch pointers do not have a "hover" concept. Only mouse does it |
@KazuCocoa I have tried it, but it not works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 workIs there any other method to achieve this?
The text was updated successfully, but these errors were encountered: