Hover on element is not working
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.8k
- フォーク
- 570
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 24
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows デスクトップアプリで Appium-Python-Client 2.11.1 を使用して報告されたホバーの試行を再現し、ActionChains、TouchAction、w3c_actions.pointer_action.move_to に焦点を当てます。報告された UnknownMethodException と、TouchAction がホバーの代わりにクリックするかどうかを確認します。対応しているメソッドがクリックせずに対象をホバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- desktop-dev, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100