(c: wda.Client)
session操作
session操作
session操作
def test_open_safari(c: wda.Client):
    """ session操作 """
    app = c.session("com.apple.mobilesafari")
    app.deactivate(3) # 后台3s
    app.close()
def test_open_safari ( c : wda . Client ) : app = c . session ( "com.apple.mobilesafari" ) app . deactivate ( 3 ) # 后台3s app . close ( )