求大神解决,这个反馈是什么意思

C:\Users\Administrator\PycharmProjects\venv\Scripts\python.exe C:/Users/Administrator/PycharmProjects/登录.py

1

Traceback (most recent call last):

  File "C:/Users/Administrator/PycharmProjects/登录.py", line 14, in <module>

    driver = webdriver.Remote('http://localhost:4723/wd/hub',desired_caps)

  File "C:\Users\Administrator\PycharmProjects\venv\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__

    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)

  File "C:\Users\Administrator\PycharmProjects\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 154, in __init__

    self.start_session(desired_capabilities, browser_profile)

  File "C:\Users\Administrator\PycharmProjects\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 243, in start_session

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

  File "C:\Users\Administrator\PycharmProjects\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 311, in execute

    self.error_handler.check_response(response)

  File "C:\Users\Administrator\PycharmProjects\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 237, 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



Process finished with exit code 1


慕丝532470
浏览 6312回答 1
1回答

慕函数9285021

调试跟踪一下,还有,你这个 登录.py 看的真的是,强迫症都要犯了
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python