Add swiping documentations
I kept it simple and just instructed the reader to replace 'mobile: scroll' with 'mobile: swipe'. Since the two have the exact same API, no sense in maintaining both sets of instructions.
MODIFY
docs/en/writing-running-appium/touch-actions.md
docs/en/writing-running-appium/touch-actions.md
@@ -105,7 +105,7 @@ allows you to do what you wanted to do with one of these views, namely, scroll
it!
-**Scrolling**
+**Scrolling<a name="scrolling">**
To allow access to this special feature, we override the `execute` or
@@ -189,6 +189,14 @@ $params = array(array('direction' => 'down', 'element' => element.GetAttribute("
$driver->executeScript("mobile: scroll", $params);
```
+**Swiping**
+
+This is an XCUITest driver specific method that is similar to scrolling (for reference, see
+https://developer.apple.com/reference/xctest/xcuielement).
+
+This method has the same API as [Scrolling](#scrolling), just replace "mobile: scroll"
+with "mobile: swipe"
+
**Automating Sliders**

Add swiping documentations

I kept it simple and just instructed the reader to replace 'mobile: scroll' with 'mobile: swipe'. Since the two have the exact same API, no sense in maintaining both sets of instructions.