Applitools_问题汇总

1.  Android使用Real Device

问题1: AttributeError: 'NoneType' object has no attribute 'to_capabilities'

解决方法1: 

from appium.options.android import UiAutomator2Options 

options = UiAutomator2Options().load_capabilities(capabilities)  

webdriver.Remote(command_executor=appium_server_url, options=options)

 

posted @ 2024-04-23 11:10  jiguanghover  阅读(48)  评论(0编辑  收藏  举报