* Perform a swipe right on an element. * * ```js * let locator = "#io.selendroid.testapp:id/LinearLayout1"; * I.swipeRight(locator); // simple swipe * I.swipeRight(locator, 500); // set speed * I.swipeRight(locator, 1200, 1000); // set offset and speed * ``` * * @param {Co
(locator, xoffset = 1000, speed)
| 1256 | * Appium: support Android and iOS |
| 1257 | */ |
| 1258 | async swipeRight(locator, xoffset = 1000, speed) { |
| 1259 | onlyForApps.call(this) |
| 1260 | if (!speed) { |
| 1261 | speed = xoffset |
| 1262 | xoffset = 100 |
| 1263 | } |
| 1264 | |
| 1265 | return this.swipe(parseLocator.call(this, locator), xoffset, 0, speed) |
| 1266 | } |
| 1267 | |
| 1268 | /** |
| 1269 | * Perform a swipe up on an element. |
no test coverage detected