noReset' must be of type boolean
2023-04-27 10:53 作者:實習(xí)證明三方免 | 我要投稿
from appium import webdriver
caps = {
"platformName": "Android",
"deviceName": "127.0.0.1:7555",
"platformVersion": "6.0.1",
"appPackage": "com.tencent.mm",
"appActivity": ".ui.LauncherUI",
"noReset": "True",
"unicodeKeyboard": "True",
"resetKeyboard": "True"
}
driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', caps)
報錯了
desired_caps['noReset']='True'
改成?
desired_caps['noReset']=True
標(biāo)簽: