Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e98b4a2

Browse files
fix: duration
1 parent 8130d8f commit e98b4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/ui-element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,13 @@ export class UIElement {
506506
let action = new this._wd.TouchAction(this._driver);
507507
action
508508
.longPress({ x: x, y: y })
509-
.wait(endPoint.duration)
509+
.wait(duration)
510510
.moveTo({ x: yOffset, y: yOffset })
511511
.release();
512512
await action.perform();
513513
} else {
514514
await this._driver.execute(`mobile: dragFromToForDuration`, {
515-
duration: endPoint.duration,
515+
duration: duration,
516516
fromX: x,
517517
fromY: y,
518518
toX: xOffset,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /