public interface TouchableElement
extends org.openqa.selenium.WebElement
WebElement and describes this behavior.| Modifier and Type | Method and Description |
|---|---|
void |
pinch()
Convenience method for pinching the given element.
|
void |
swipe(SwipeElementDirection direction,
int duration)
Convenience method for swiping on the given element to the given direction
|
void |
tap(int fingers,
int duration)
Convenience method for tapping the center of the given element
|
void |
zoom()
Convenience method for "zooming in" on the given element.
|
void pinch()
void tap(int fingers,
int duration)
fingers - number of fingers/appendages to tap withduration - how long between pressing down, and lifting fingers/appendagesvoid zoom()
void swipe(SwipeElementDirection direction, int duration)
direction - UP, DOWN, LEFT, RIGHTduration - amount of time in milliseconds for the entire swipe action to
takeCopyright © 2014. All rights reserved.