From 3d4009b4fdc913673e1aaf15ec2d95cf616ded2e Mon Sep 17 00:00:00 2001 From: Guy Blank Date: Wed, 12 Jul 2017 16:37:34 +0300 Subject: [PATCH] add disclaimer to tapAtPoint docs --- docs/APIRef.ActionsOnElement.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/APIRef.ActionsOnElement.md b/docs/APIRef.ActionsOnElement.md index fa2f133eb9..d4736fd923 100644 --- a/docs/APIRef.ActionsOnElement.md +++ b/docs/APIRef.ActionsOnElement.md @@ -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.

+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});