首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >appium+python app 自动化测试?

appium+python app 自动化测试?

提问于 2019-08-21 15:08:31
回答 0关注 0查看 509

Traceback (most recent call last):

File "/Users/mac/PycharmProjects/untitled/wt.py", line 23, in <module>

driver = webdriver.Remote("http://127.0.0.1:4723/wd/hub",desired_caps)

File "/Users/mac/PycharmProjects/untitled/venv/lib/python3.6/site-packages/appium/webdriver/webdriver.py", line 144, in __init__

proxy

File "/Users/mac/PycharmProjects/untitled/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__

self.start_session(capabilities, browser_profile)

File "/Users/mac/PycharmProjects/untitled/venv/lib/python3.6/site-packages/appium/webdriver/webdriver.py", line 219, in start_session

response = self.execute(RemoteCommand.NEW_SESSION, parameters)

File "/Users/mac/PycharmProjects/untitled/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute

self.error_handler.check_response(response)

File "/Users/mac/PycharmProjects/untitled/venv/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response

raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability

以上是pycharm的所有报错信息,求大神指点

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档