We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8130d8f commit e98b4a2Copy full SHA for e98b4a2
1 file changed
lib/ui-element.ts
@@ -506,13 +506,13 @@ export class UIElement {
506
let action = new this._wd.TouchAction(this._driver);
507
action
508
.longPress({ x: x, y: y })
509
- .wait(endPoint.duration)
+ .wait(duration)
510
.moveTo({ x: yOffset, y: yOffset })
511
.release();
512
await action.perform();
513
} else {
514
await this._driver.execute(`mobile: dragFromToForDuration`, {
515
- duration: endPoint.duration,
+ duration: duration,
516
fromX: x,
517
fromY: y,
518
toX: xOffset,
0 commit comments