Skip to content

Commit 17e4d2f

Browse files
committed
Remove params
1 parent 40d0468 commit 17e4d2f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/driver.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { desiredCapConstraints } from './desiredCaps';
2-
import { JWProxy, BaseDriver } from 'appium/driver';
2+
import { JWProxy, BaseDriver } from '@appium/base-driver';
33
import type {
44
DefaultCreateSessionResult,
55
DriverData,
@@ -332,14 +332,13 @@ export class AppiumFlutterDriver extends BaseDriver<FlutterDriverConstraints> {
332332
);
333333
}
334334

335-
async dragAndDrop(source: any, target: any, elementOptions: any) {
335+
async dragAndDrop(source: any, target: any) {
336336
return this.proxy?.command(
337337
`/session/:sessionId/appium/gestures/drag_drop`,
338338
'POST',
339339
{
340340
source,
341341
target,
342-
elementOptions,
343342
},
344343
);
345344
}
@@ -449,4 +448,4 @@ export class AppiumFlutterDriver extends BaseDriver<FlutterDriverConstraints> {
449448
'GET'
450449
);
451450
}
452-
}
451+
}

0 commit comments

Comments
 (0)