File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ export class DeviceManager implements IDeviceManager {
209
209
210
210
args . device . statBarHeight = sessionInfoDetails . statBarHeight ;
211
211
args . device . viewportRect = DeviceManager . convertViewportRectToIRectangle ( sessionInfoDetails . viewportRect ) ;
212
+ args . device . token = args . device . token || sessionInfoDetails . udid ;
212
213
213
214
return args . device ;
214
215
}
Original file line number Diff line number Diff line change @@ -533,8 +533,7 @@ export class UIElement {
533
533
logInfo ( "Start pan gesture!" ) ;
534
534
const rect = await this . getRectangle ( ) ;
535
535
const action = new this . _wd . TouchAction ( this . _driver ) ;
536
- await action . press ( { x : rect . x + initPointOffset . x , y : rect . y + initPointOffset . y } ) ;
537
- await this . doubleTap ( ) ;
536
+ await action . press ( { x : rect . x + initPointOffset . x , y : rect . y + initPointOffset . y } ) . wait ( 200 ) ;
538
537
if ( offsets . length > 1 ) {
539
538
for ( let index = 1 ; index < offsets . length ; index ++ ) {
540
539
const p = offsets [ index ] ;
You can’t perform that action at this time.
0 commit comments