* Perform a swipe down on an element. * * ```js * let locator = "#io.selendroid.testapp:id/LinearLayout1"; * I.swipeDown(locator); // simple swipe * I.swipeDown(locator, 500); // set speed * I.swipeDown(locator, 1200, 1000); // set offset and speed * ``` * * @param {Codece
(locator, yoffset = 1000, speed)
| 1200 | * Appium: support Android and iOS |
| 1201 | */ |
| 1202 | async swipeDown(locator, yoffset = 1000, speed) { |
| 1203 | onlyForApps.call(this) |
| 1204 | |
| 1205 | if (!speed) { |
| 1206 | speed = yoffset |
| 1207 | yoffset = 100 |
| 1208 | } |
| 1209 | |
| 1210 | return this.swipe(parseLocator.call(this, locator), 0, yoffset, speed) |
| 1211 | } |
| 1212 | |
| 1213 | /** |
| 1214 | * |
no test coverage detected