How to push app in background and launch from same screen in Appium with selenium

前端 未结 10 982
一向
一向 2021-01-07 06:44

Is there any way to do the following process in android Automation using Appium with android driver?

Press home button from some specific screen. Put app in backgrou

10条回答
  •  感动是毒
    2021-01-07 07:28

    appium_lib ruby client allows you to do this with

    background_app 5 where 5 is the number of seconds you want the app to be in background. This will automatically, resume the application in the same screen.

提交回复
热议问题