From 4cb9200cfb79c5ca66d76299ee9d8c418719feda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20H=C3=BCbelbauer?= Date: Tue, 18 Jan 2022 09:36:20 +0100 Subject: [PATCH] Update performSwipe method signature to match source code --- docs/helpers/Appium.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/helpers/Appium.md b/docs/helpers/Appium.md index 1e4f0727a..38e6bee9f 100644 --- a/docs/helpers/Appium.md +++ b/docs/helpers/Appium.md @@ -591,13 +591,13 @@ Returns **[Promise][4]<void>** Appium: support Android and iOS Perform a swipe on the screen. ```js -I.performswipe(100,200); +I.performswipe({ x: 300, y: 100 }, { x: 200, y: 100 }); ``` #### Parameters -- `from` **[number][10]** -- `to` **[number][10]** Appium: support Android and iOS +- `from` **[object][8]** +- `to` **[object][8]** Appium: support Android and iOS ### swipeDown