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 {
209209
210210 args . device . statBarHeight = sessionInfoDetails . statBarHeight ;
211211 args . device . viewportRect = DeviceManager . convertViewportRectToIRectangle ( sessionInfoDetails . viewportRect ) ;
212+ args . device . token = args . device . token || sessionInfoDetails . udid ;
212213
213214 return args . device ;
214215 }
Original file line number Diff line number Diff line change @@ -533,8 +533,7 @@ export class UIElement {
533533 logInfo ( "Start pan gesture!" ) ;
534534 const rect = await this . getRectangle ( ) ;
535535 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 ) ;
538537 if ( offsets . length > 1 ) {
539538 for ( let index = 1 ; index < offsets . length ; index ++ ) {
540539 const p = offsets [ index ] ;
You can’t perform that action at this time.
0 commit comments