Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タッチ デバイス用の Web サイトをテストしています。ページの 1 つには、検索テキスト ボックスを表示するための「プル トゥ リフレッシュ」と「ハーフ プル」があります。これは、iOS デバイスに付属するメール アプリに似ています。
Webdriver を使用してこの機能をテストするにはどうすればよいですか?
私はこれがうまくいくと思います:
Actions builder = new Actions(driver); Action dragAndDrop = builder.clickAndHold(someElement) .moveToElement(otherElement) .release(otherElement) .build(); dragAndDrop.perform();
ドキュメンテーション