Nar*_*raR 1 selenium appium desiredcapabilities appium-android
我想在运行我的 Appium 测试时使用现有的应用程序会话。那么我需要在我的代码中添加任何方法或功能,以便它可以继续现有的应用程序会话。
我四处寻找解决方案,但不幸的是我找不到它。
I got the solution regarding what i intend to do. I've added below capability in my code :
capabilities.setCapability("noReset", true);
Run Code Online (Sandbox Code Playgroud)
Now I'm able to carry the existing session.
e.g. Manually I've opened flipkart app and added one item in cart and closed the app. Now if I'm opening the app using Appium. Now I'm able to see that already added item in the cart.
归档时间: |
|
查看次数: |
3462 次 |
最近记录: |