• 重装完 appium 后连服务都启动不起来了
    Traceback (most recent call last):
    File "G:/myappium/main.py", line 94, in
    a.test_01()
    File "G:/myappium/main.py", line 42, in test_01
    driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', self.d)
    File "G:\myappium\venv\lib\site-packages\appium\webdriver\webdriver.py", line 144, in init
    proxy
    File "G:\myappium\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 89, in init
    self.start_session(desired_capabilities, browser_profile)
    File "G:\myappium\venv\lib\site-packages\appium\webdriver\webdriver.py", line 219, in start_session
    response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    File "G:\myappium\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 193, in execute
    response = self.command_executor.execute(driver_command, params)
    File "G:\myappium\venv\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 358, in execute
    return self._request(command_info[0], url, body=data)
    File "G:\myappium\venv\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 458, in _request
    'Invalid server response; no status: %s' % body)
    AssertionError: Invalid server response; no status: {"value":{"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"HKL4MPT3","appPackage":"com.taptap","appActivity":"com.play.taptap.ui.SplashAct","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"newCommandTimeout":180},"platformName":"Android","deviceName":"HKL4MPT3","appPackage":"com.taptap","appActivity":"com.play.taptap.ui.SplashAct","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"newCommandTimeout":180,"deviceUDID":"HKL4MPT3","deviceApiLevel":27,"platformVersion":"8.1.0","deviceScreenSize":"1080x2246","deviceScreenDensity":480,"deviceModel":"Lenovo L78011","deviceManufacturer":"Lenovo","pixelRatio":3,"statBarHeight":90,"viewportRect":{"left":0,"top":90,"width":1080,"height":2012}},"sessionId":"00ad5011-b7be-431c-9b39-1ba282ad9120"}}

  • appium 的

  • 什么类型的测试呀