* Perform a swipe up on an element. * * ```js * let locator = "#io.selendroid.testapp:id/LinearLayout1"; * I.swipeUp(locator); // simple swipe * I.swipeUp(locator, 500); // set speed * I.swipeUp(locator, 1200, 1000); // set offset and speed * ``` * * @param {CodeceptJS.Loc
(locator, yoffset = 1000, speed)
| 1283 | * Appium: support Android and iOS |
| 1284 | */ |
| 1285 | async swipeUp(locator, yoffset = 1000, speed) { |
| 1286 | onlyForApps.call(this) |
| 1287 | |
| 1288 | if (!speed) { |
| 1289 | speed = yoffset |
| 1290 | yoffset = 100 |
| 1291 | } |
| 1292 | |
| 1293 | return this.swipe(parseLocator.call(this, locator), 0, -yoffset, speed) |
| 1294 | } |
| 1295 | |
| 1296 | /** |
| 1297 | * Perform a swipe in selected direction on an element to searchable element. |
no test coverage detected