Skip to content

Commit 3983c28

Browse files
committed
Add new tap method
1 parent e46f72a commit 3983c28

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/io/appium/java_client/TouchShortcuts.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ public interface TouchShortcuts {
2828
* @param el The element to pinch
2929
*/
3030
public void zoom(WebElement el);
31-
31+
32+
/**
33+
* Convenience method for tapping a WebElement on the screen
34+
*
35+
* @param element - WebElement to be tapped
36+
*/
37+
public void tap(WebElement element);
38+
3239
/**
3340
* Convenience method for tapping a position on the screen
3441
*

0 commit comments

Comments
 (0)