Skip to content

Commit

Permalink
add disclaimer to tapAtPoint docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Blank authored and rotemmiz committed Jul 13, 2017
1 parent 9ae4cd4 commit 3d4009b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/APIRef.ActionsOnElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Simulate multiple taps on an element.
await element(by.id('tappable')).multiTap(3);
```
### `tapAtPoint()`
Simulate tap at a specific point on an element.
Simulate tap at a specific point on an element.<br><br>
Note: The point coordinates are relative to the matched element and the element size could changes on different devices or even when changing the device font size.

```js
await element(by.id('tappable')).tapAtPoint({x:5, y:10});
Expand Down

0 comments on commit 3d4009b

Please sign in to comment.