File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ export class AndroidMidsceneTools extends BaseMidsceneTools {
4141 }
4242
4343 debug ( 'Creating Android agent with deviceId:' , deviceId || 'auto-detect' ) ;
44- const agent = await agentFromAdbDevice ( deviceId ) ;
44+ const agent = await agentFromAdbDevice ( deviceId , {
45+ autoDismissKeyboard : false ,
46+ } ) ;
4547 this . agent = agent as unknown as BaseAgent ;
4648 return agent ;
4749 }
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ export class IOSMidsceneTools extends BaseMidsceneTools {
2929 }
3030
3131 debug ( 'Creating iOS agent with WebDriverAgent' ) ;
32- this . agent = await agentFromWebDriverAgent ( ) ;
32+ this . agent = await agentFromWebDriverAgent ( {
33+ autoDismissKeyboard : false ,
34+ } ) ;
3335 return this . agent ;
3436 }
3537
You can’t perform that action at this time.
0 commit comments