不行,我还是搞不定,还请老师帮忙解惑
E:\新建文件夹\python.exe E:/untitled/AppiumPython/case/start_appium.py
Traceback (most recent call last):
File "E:/untitled/AppiumPython/case/start_appium.py", line 7, in <module>
webdriver.Remote("http://127.0.0.1:4723/wd/hub",capabilities)
File "C:\Users\wangchao\AppData\Roaming\Python\Python37\site-packages\appium\webdriver\webdriver.py", line 129, in __init__
proxy
File "C:\Users\wangchao\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\wangchao\AppData\Roaming\Python\Python37\site-packages\appium\webdriver\webdriver.py", line 204, in start_session
response = self.execute(RemoteCommand.NEW_SESSION, parameters)
File "C:\Users\wangchao\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\wangchao\AppData\Roaming\Python\Python37\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: Could not find a driver for platformName 'e6866ad3'. Please check your desired capabilities.
Process finished with exit code 1