When I run the app with GRID4, it says "Unable to determine element locating strategy for -android uiautomator"
See original GitHub issueThe problem
When I run the app with GRID4, it says “Unable to determine element locating strategy for -android uiautomator”
Environment
- Appium version (or git revision) that exhibits the issue:1.22.0
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium:win10
- Node.js version (unless using Appium.app|exe):v14.16.0
- Npm or Yarn package manager:npm
- Mobile platform/version under test:
- Real device or emulator/simulator:Real device
- Appium CLI or Appium.app|exe: Appium CLI
- appium Client version:python v2.1.4
Details
-
hub
java -jar selenium-server-4.1.1.jar hub
-
node 1.tom:
[server]
port = 5555
[node]
detect-drivers = false
grid-url = "http://localhost:4444"
hub = "http://localhost:4444"
[relay]
# Default Appium server endpoint
url = "http://localhost:4726/wd/hub"
status-endpoint = "/status"
# Stereotypes supported by the service
[[relay.configs]]
max-sessions = 1
stereotype = '{"browserName": "chrome", "platformName": "android", "appium:platformVersion": "11","nodename:applicationName":"huawei honor 10"}}'
[events]
publish = "tcp://localhost:4442"
subscribe = "tcp://localhost:4443"
java -jar selenium-server-4.1.1.jar node --config C:\Users\14221\Desktop\项目资料\人保E通新架构\1.toml
- client get_driver.py:
#selenium GRID专用
def get_driver():
'''生成deiver'''
caps = {}
caps["platformName"] = "Android"
# caps["platformVersion"] = "7.1.2"
# caps["deviceName"] = "P7CDU18C03003486 device"
# caps["deviceName"] = udid
# caps["udid"] = udid
# caps["deviceName"] = "127.0.0.1:62001 device"
# 新架构app
#caps["appPackage"] = "com.picc.etong"
# caps["appActivity"] = "com.picc.etong.etongmain.main.GroupLoginActivity"
#caps["appActivity"] = "com.picc.nmmslogin.activity.GroupWelcomeActivity"
#老版app
caps["appPackage"] = "com.picc.nx"
# caps["appActivity"] = "com.picc.nx.ui.activity.MainActivity"
# caps["appActivity"] = "com.picc.nx.ui.activity.common.locker.WholePatternCheckingActivity"
# caps["appActivity"] = "com.picc.nx.ui.activity.user.LoginActivity"
caps["appActivity"] = "com.picc.nx.ui.activity.extras.SplashActivity"
#Don't reset app state before this session.
caps["noReset"] = True
#Have Appium automatically determine which permissions your app requires and grant them to the app on install. Defaults to false. If noReset is true, this capability doesn't work.
# caps["autoGrantPermissions"] = True
#为了输入框输入中文
caps["unicodeKeyboard"] = True
caps["resetKeyboard"] = True
#How long (in seconds) Appium will wait for a new command from the client before assuming the client quit and ending the session
caps["newCommandTimeout"] = 180
#Timeout in milliseconds used to wait for adb command execution. Defaults to 20000
caps["adbExecTimeout"] = 180000
# caps["automationName"] = "UiAutomator1"
#Set the output format for logcat messages since Appium 1.18.0. Supported formats are listed in here. Please read logcat#outputFormat for more details about each format. Defaults to threadtime.
caps["logcatFormat"] = "time"
#Set the output filter rule for logcat messages since Appium 1.18.0. Please read logcat#filteringOutput for more details about the rule. Write and View Logs with Logcat is also helpful.
caps["logcatFilterSpecs"] = ['*:E']
#在每次会话开始时清除logcat日志
caps["clearDeviceLogsOnStart"] = True
caps["chromeOptions"] = {"w3c": False}
driver = webdriver.Remote('http://localhost:4444/wd/hub', caps)
driver.implicitly_wait(60)
return driver
YZB_CB_HKT_case_01.py:
LP=LoginPage(self.logging)
#登录耘智保
LP.login_by_sss(self.driver)
self.logging.info("*********************首页*********************")
IDP = CBIndexPage(self.logging)
#检测是否在正确的账号下,不是就切换
CheckIsRightAccount().check_account(self)
# 点击清单管理
IDP.click_menu(self.driver, self.data['nav_menu'])
self.logging.info("*********************新建验标页面*********************")
LSP=ListStandardPage(self.logging)
#选择投保方式
LSP.click_standard_type(self.driver,'投保方式','个体投保')
ListStandardPage.py:
def click_standard_type(self,driver,title,val):
self.logging.info('*投保方式*-%s'%val)
wait(driver,2)
# id_name = ''
# if val =='个人投保':
# id_name = 'com.picc.nx:id/rb_private'
# else:
# id_name = "com.picc.nx:id/rb_public"
ele = scroll_to_element2(driver,'xpath','//android.widget.RadioButton[contains(@text,"'+val+'")]',{'class':'android.widget.ScrollView'})
if attr(ele,'checked')=="false":
ele.click()
common.py:
def scroll_to_begin(driver,d1={},direction="V",maxSwipe="30"):
'''滑动顶部'''
# flingToEnd
#d1={"id":'com.picc.nmms:id/tv_usenaturecode',"class":android.widget.TextView,"text":'211-家庭自用汽车',"scrollable":'false',"index":'0'},d1为scrollable=True的元素的属性,注意scrollable必选在index前面
#direction:滑动方向 H-->水平, V-->垂直
#maxSwipe:最大滑动次数,默认是30次
str1="new UiScrollable(new UiSelector()"
for key,value in d1.items():
if key=='id':
str1+='.resourceId(\"'+value+'\")'
elif key=='class':
str1+='.className(\"'+value+'\")'
elif key=="text":
str1+='.textContains(\"'+value+'\")'
elif key=="scrollable":
str1+=".scrollable("+value+")"
elif key=="index":
str1+='.instance('+value+')'
str1+=")"
if direction=="V":
str1+=".setAsVerticalList()"
else:
str1+=".setAsHorizontalList()"
str1+=".setMaxSearchSwipes("+maxSwipe+")"
str1+=".flingToBeginning("+maxSwipe+")"
e1=driver.find_element_by_android_uiautomator(str1)
return e1
def scroll_to_element2(driver,method,value,d1={},num=1,maxSwipe=40,direction="V",noScrollArea=0.3):
'''滑动并找到第N个重复属性的元素'''
#d1:滑动容器
#methd:要找元素的定位方法
#value:要找元素的定位属性
#num:要找第几个元素
#例如:找确认页面的第二个名字,scroll_to_element2(driver,"id","com.picc.nmms:id/tv_insured_name",{"class":"android.widget.ScrollView","id":"com.picc.nmms:id/my_scrollview"},2)
ID1=[]
new1=[]
scroll_to_begin(driver,d1)
m=0
driver.implicitly_wait(0)
for i in get_elements(driver,method,value):
if i.id not in ID1:
new1.append(i)
ID1.append(i.id)
while len(new1)<num and m<maxSwipe:
scroll_forward(driver,d1,direction=direction,noScrollArea=noScrollArea)
for i in get_elements(driver,method,value):
if i.id not in ID1:
new1.append(i)
ID1.append(i.id)
m+=1
if len(new1)<num:
print("未找到指定元素!")
driver.implicitly_wait(global_wait)
return new1[num-1]
- error
ft1.1: Traceback (most recent call last):
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\MyTestCase.py", line 27, in testPartExecutor
yield
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\MyTestCase.py", line 188, in run
testMethod()
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\common2.py", line 123, in wrapper
func(self)
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\common2.py", line 45, in wrapper
func(self)
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\test_case\YZB_CB_HKT_case_01.py", line 122, in test_case_01
LSP.click_standard_type(self.driver,'投保方式','个体投保')
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\test_page\ListStandardPage.py", line 23, in click_standard_type
ele = scroll_to_element2(driver,'xpath','//android.widget.RadioButton[contains(@text,"'+val+'")]',{'class':'android.widget.ScrollView'})
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\common.py", line 164, in scroll_to_element2
scroll_to_begin(driver,d1)
File "C:\Users\14221\Desktop\project-git\UITestAND_PICC_YZB\public\common.py", line 239, in scroll_to_begin
e1=driver.find_element_by_android_uiautomator(str1)
File "C:\Python39\lib\site-packages\appium\webdriver\extensions\search_context\android.py", line 171, in find_element_by_android_uiautomator
return self.find_element(by=AppiumBy.ANDROID_UIAUTOMATOR, value=uia_string)
File "C:\Python39\lib\site-packages\appium\webdriver\webdriver.py", line 414, in find_element
return self.execute(RemoteCommand.FIND_ELEMENT, {'using': by, 'value': value})['value']
File "C:\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 418, in execute
self.error_handler.check_response(response)
File "C:\Python39\lib\site-packages\appium\webdriver\errorhandler.py", line 30, in check_response
raise wde
File "C:\Python39\lib\site-packages\appium\webdriver\errorhandler.py", line 26, in check_response
super().check_response(response)
File "C:\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: Unable to determine element locating strategy for -android uiautomator
Link to Appium logs
GRID log:
20:12:36.419 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
20:12:36.419 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
20:12:37.212 INFO [BoundZmqEventBus.<init>] - XPUB binding to [binding to tcp://*:4442, advertising as tcp://11.204.111.178:4442], XSUB binding to [binding to tcp://*:4443, advertising as tcp://11.204.111.178:4443]
20:12:37.302 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://11.204.111.178:4442 and tcp://11.204.111.178:4443
20:12:37.312 INFO [UnboundZmqEventBus.<init>] - Sockets created
20:12:38.312 INFO [UnboundZmqEventBus.<init>] - Event bus ready
20:12:40.677 INFO [Hub.execute] - Started Selenium Hub 4.1.1 (revision e8fcc2cecf): http://11.204.111.178:4444
20:12:56.759 INFO [Node.<init>] - Binding additional locator mechanisms: name, id, relative
20:12:57.569 INFO [LocalDistributor.add] - Added node 2f8b4025-1454-4004-9626-6792e5a829a8 at http://11.204.111.178:5555. Health check every 120s
20:12:57.584 INFO [GridModel.setAvailability] - Switching node 2f8b4025-1454-4004-9626-6792e5a829a8 (uri: http://11.204.111.178:5555) from DOWN to UP
20:13:28.987 INFO [LocalDistributor.newSession] - Session request received by the distributor:
[Capabilities {adbExecTimeout: 180000, appActivity: com.picc.nx.ui.activity.ext..., appPackage: com.picc.nx, chromeOptions: {w3c: false}, clearDeviceLogsOnStart: true, logcatFilterSpecs: [*:E], logcatFormat: time, newCommandTimeout: 180, noReset: true, platformName: Android, resetKeyboard: true, unicodeKeyboard: true}, Capabilities {goog:chromeOptions: {w3c: false}, platformName: android}, Capabilities {appium:adbExecTimeout: 180000, appium:appActivity: com.picc.nx.ui.activity.ext..., appium:appPackage: com.picc.nx, appium:chromeOptions: {w3c: false}, appium:clearDeviceLogsOnStart: true, appium:logcatFilterSpecs: [*:E], appium:logcatFormat: time, appium:newCommandTimeout: 180, appium:noReset: true, appium:resetKeyboard: true, appium:unicodeKeyboard: true, platformName: Android}]
20:13:45.940 INFO [LocalDistributor.newSession] - Session created by the distributor. Id: 8554cb5f-ffe0-433a-94fc-0e7c337200c0, Caps: Capabilities {adbExecTimeout: 180000, appActivity: com.picc.nx.ui.activity.ext..., appPackage: com.picc.nx, chromeOptions: {w3c: false}, clearDeviceLogsOnStart: true, databaseEnabled: false, desired: {adbExecTimeout: 180000, appActivity: com.picc.nx.ui.activity.ext..., appPackage: com.picc.nx, clearDeviceLogsOnStart: true, goog:chromeOptions: {w3c: false}, logcatFilterSpecs: [*:E], logcatFormat: time, newCommandTimeout: 180, noReset: true, platformName: android, resetKeyboard: true, udid: dc938aef, unicodeKeyboard: true}, deviceApiLevel: 30, deviceManufacturer: OnePlus, deviceModel: LE2100, deviceName: dc938aef, deviceScreenDensity: 480, deviceScreenSize: 1080x2400, deviceUDID: dc938aef, goog:chromeOptions: {w3c: false}, javascriptEnabled: true, locationContextEnabled: false, logcatFilterSpecs: [*:E], logcatFormat: time, networkConnectionEnabled: true, newCommandTimeout: 180, noReset: true, pixelRatio: 3, platform: LINUX, platformName: android, platformVersion: 11, resetKeyboard: true, se:cdp: ws://localhost:4444/session..., statBarHeight: 103, takesScreenshot: true, udid: dc938aef, unicodeKeyboard: true, viewportRect: {height: 2194, left: 0, top: 103, width: 1080}, warnings: {}, webStorageEnabled: false}
20:14:01.698 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local session map, Id: 8554cb5f-ffe0-433a-94fc-0e7c337200c0
appium log:
[35m[Appium][39m Welcome to Appium v1.22.0
[35m[Appium][39m Non-default server args:
[35m[Appium][39m port: 4726
[35m[Appium][39m sessionOverride: true
[35m[Appium][39m relaxedSecurityEnabled: true
[35m[Appium][39m udid: dc938aef
[35m[Appium][39m Deprecated server args:
[35m[Appium][39m [31m-U[39m => --default-capabilities
[35m[Appium][39m Default capabilities, which will be added to each request unless overridden by desired capabilities:
[35m[Appium][39m udid: dc938aef
[35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4726
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[GENERIC][39m Calling AppiumDriver.getStatus() with args: []
[debug] [35m[GENERIC][39m Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0"}}
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m7 ms - 68[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[35m[HTTP][39m [90m{"desiredCapabilities":{"appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"chromeOptions":{"w3c":false},"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true},"capabilities":{"firstMatch":[{"goog:chromeOptions":{"w3c":false},"platformName":"android"}]}}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.createSession() with args: [{"appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"chromeOptions":{"w3c":false},"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true},null,{"firstMatch":[{"goog:chromeOptions":{"w3c":false},"platformName":"android"}]}]
[debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1646914259286 (20:10:59 GMT+0800 (中国标准时间))
[35m[BaseDriver][39m The following capabilities are not standard capabilities and should have an extension prefix:
[35m[BaseDriver][39m udid
[35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["appPackage","logcatFormat","logcatFilterSpecs","noReset","clearDeviceLogsOnStart","appActivity","newCommandTimeout","adbExecTimeout","chromeOptions","unicodeKeyboard","resetKeyboard"]
[35m[Appium][39m Trying to fix W3C capabilities by merging them with JSONWP caps
[35m[BaseDriver][39m The following capabilities are not standard capabilities and should have an extension prefix:
[35m[BaseDriver][39m appPackage
[35m[BaseDriver][39m logcatFormat
[35m[BaseDriver][39m logcatFilterSpecs
[35m[BaseDriver][39m noReset
[35m[BaseDriver][39m clearDeviceLogsOnStart
[35m[BaseDriver][39m appActivity
[35m[BaseDriver][39m newCommandTimeout
[35m[BaseDriver][39m adbExecTimeout
[35m[BaseDriver][39m unicodeKeyboard
[35m[BaseDriver][39m resetKeyboard
[35m[BaseDriver][39m udid
[35m[Appium][39m
[35m[Appium][39m ======================================================================
[35m[Appium][39m DEPRECATION WARNING:
[35m[Appium][39m
[35m[Appium][39m The 'automationName' capability was not provided in the desired
[35m[Appium][39m capabilities for this Android session
[35m[Appium][39m
[35m[Appium][39m Setting 'automationName=UiAutomator2' by default and using the
[35m[Appium][39m UiAutomator2 Driver
[35m[Appium][39m
[35m[Appium][39m The next major version of Appium (2.x) will **require** the
[35m[Appium][39m 'automationName' capability to be set for all sessions on all
[35m[Appium][39m platforms
[35m[Appium][39m
[35m[Appium][39m In previous versions (Appium <= 1.13.x), the default was
[35m[Appium][39m 'automationName=UiAutomator1'
[35m[Appium][39m
[35m[Appium][39m If you wish to use that automation instead of UiAutomator2, please
[35m[Appium][39m add 'automationName=UiAutomator1' to your desired capabilities
[35m[Appium][39m
[35m[Appium][39m For more information about drivers, please visit
[35m[Appium][39m http://appium.io/docs/en/about-appium/intro/ and explore the
[35m[Appium][39m 'Drivers' menu
[35m[Appium][39m
[35m[Appium][39m ======================================================================
[35m[Appium][39m
[35m[Appium][39m Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[debug] [35m[Appium][39m There are no active sessions for cleanup
[35m[Appium][39m Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [35m[BaseDriver][39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] [35m[BaseDriver][39m Creating session with W3C capabilities: {
[debug] [35m[BaseDriver][39m "alwaysMatch": {
[debug] [35m[BaseDriver][39m "appium:appPackage": "com.picc.nx",
[debug] [35m[BaseDriver][39m "appium:logcatFormat": "time",
[debug] [35m[BaseDriver][39m "appium:logcatFilterSpecs": [
[debug] [35m[BaseDriver][39m "*:E"
[debug] [35m[BaseDriver][39m ],
[debug] [35m[BaseDriver][39m "appium:noReset": true,
[debug] [35m[BaseDriver][39m "appium:clearDeviceLogsOnStart": true,
[debug] [35m[BaseDriver][39m "appium:appActivity": "com.picc.nx.ui.activity.extras.SplashActivity",
[debug] [35m[BaseDriver][39m "appium:newCommandTimeout": 180,
[debug] [35m[BaseDriver][39m "appium:adbExecTimeout": 180000,
[debug] [35m[BaseDriver][39m "appium:unicodeKeyboard": true,
[debug] [35m[BaseDriver][39m "appium:resetKeyboard": true,
[debug] [35m[BaseDriver][39m "goog:chromeOptions": {
[debug] [35m[BaseDriver][39m "w3c": false
[debug] [35m[BaseDriver][39m },
[debug] [35m[BaseDriver][39m "platformName": "android",
[debug] [35m[BaseDriver][39m "appium:udid": "dc938aef"
[debug] [35m[BaseDriver][39m },
[debug] [35m[BaseDriver][39m "firstMatch": [
[debug] [35m[BaseDriver][39m {}
[debug] [35m[BaseDriver][39m ]
[debug] [35m[BaseDriver][39m }
[35m[BaseDriver][39m The following capabilities were provided, but are not recognized by Appium:
[35m[BaseDriver][39m goog:chromeOptions
[35m[BaseDriver][39m Session created with session id: 5fa0d900-1c0a-4514-9200-2b96feed6457
[35m[UiAutomator2][39m Starting 'com.picc.nx' directly on the device
[35m[ADB][39m Found 1 'build-tools' folders under 'C:\software\SDK' (newest first):
[35m[ADB][39m C:/software/SDK/build-tools/30.0.3
[35m[ADB][39m Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[35m[AndroidDriver][39m Retrieving device list
[debug] [35m[ADB][39m Trying to find a connected android device
[debug] [35m[ADB][39m Getting connected devices
[debug] [35m[ADB][39m Connected devices: [{"udid":"dc938aef","state":"device"}]
[35m[AndroidDriver][39m Using device: dc938aef
[35m[ADB][39m Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[debug] [35m[ADB][39m Setting device id to dc938aef
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.sdk'
[debug] [35m[ADB][39m Current device property 'ro.build.version.sdk': 30
[35m[ADB][39m Getting device platform version
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.release'
[debug] [35m[ADB][39m Current device property 'ro.build.version.release': 11
[debug] [35m[ADB][39m Device API level: 30
[35m[UiAutomator2][39m Relaxing hidden api policy
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[35m[AndroidDriver][39m No app sent in, not parsing package/activity
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef wait-for-device'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell echo ping'
[debug] [35m[AndroidDriver][39m Pushing settings apk to device...
[debug] [35m[ADB][39m Getting install status for io.appium.settings
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [35m[ADB][39m 'io.appium.settings' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.settings'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [35m[ADB][39m The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0')
[debug] [35m[ADB][39m There is no need to install/upgrade 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [35m[ADB][39m Getting IDs of all 'io.appium.settings' processes
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'pgrep --help; echo $?''
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [35m[AndroidDriver][39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell appops set io.appium.settings android:mock_location allow'
[debug] [35m[Logcat][39m Clearing logcat logs from device
[debug] [35m[Logcat][39m Starting logs capture with command: C:\\software\\SDK\\platform-tools\\adb.exe -P 5037 -s dc938aef logcat -v time \*\:E
[debug] [35m[AndroidDriver][39m Enabling Unicode keyboard support
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell settings get secure default_input_method'
[debug] [35m[AndroidDriver][39m Unsetting previous IME com.iflytek.inputmethod.oppo/.FlyIME
[debug] [35m[AndroidDriver][39m Setting IME to 'io.appium.settings/.UnicodeIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime enable io.appium.settings/.UnicodeIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set io.appium.settings/.UnicodeIME'
[debug] [35m[UiAutomator2][39m Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [35m[ADB][39m Forwarding system: 8200 to device: 6790
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward tcp:8200 tcp:6790'
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [35m[ADB][39m 'io.appium.uiautomator2.server' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.uiautomator2.server'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [35m[ADB][39m The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.24.0' >= '4.24.0')
[debug] [35m[UiAutomator2][39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [35m[ADB][39m Checking app cert for C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.24.0.apk
[35m[ADB][39m Using 'apksigner.jar' from 'C:\software\SDK\build-tools\30.0.3\lib\apksigner.jar'
[debug] [35m[ADB][39m Starting apksigner: 'C:\\Program Files\\Java\\jdk-11.0.10\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\software\\SDK\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\14221\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.24.0.apk
[debug] [35m[ADB][39m apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [35m[ADB][39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [35m[ADB][39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [35m[ADB][39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [35m[ADB][39m
[debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-v4.24.0.apk'
[35m[ADB][39m 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.24.0.apk' is signed with the default certificate
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server.test
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [35m[ADB][39m 'io.appium.uiautomator2.server.test' is installed
[debug] [35m[ADB][39m Checking app cert for C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] [35m[ADB][39m Starting apksigner: 'C:\\Program Files\\Java\\jdk-11.0.10\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\software\\SDK\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\14221\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk
[debug] [35m[ADB][39m apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [35m[ADB][39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [35m[ADB][39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [35m[ADB][39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [35m[ADB][39m
[debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[35m[ADB][39m 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[35m[UiAutomator2][39m Server packages are not going to be (re)installed
[debug] [35m[UiAutomator2][39m Waiting up to 30000ms for services to be available
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pm list instrumentation'
[debug] [35m[UiAutomator2][39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[35m[ADB][39m Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [35m[ADB][39m Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[debug] [35m[UiAutomator2][39m No app capability. Assuming it is already on the device
[debug] [35m[UiAutomator2][39m Performing shallow cleanup of automation leftovers
[debug] [35m[UiAutomator2][39m No obsolete sessions have been detected (socket hang up)
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop io.appium.uiautomator2.server.test'
[35m[UiAutomator2][39m Starting UIAutomator2 server 4.24.0
[35m[UiAutomator2][39m Using UIAutomator2 server from 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.24.0.apk' and test from 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [35m[ADB][39m Creating ADB subprocess with args: ["-P",5037,"-s","dc938aef","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[35m[WD Proxy][39m socket hang up
[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[35m[WD Proxy][39m socket hang up
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [35m[UiAutomator2][39m The initialization of the instrumentation process took 2408ms
[debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession'
[debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"dc938aef","deviceUDID":"dc938aef"}],"alwaysMatch":{}}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"d...
[35m[WD Proxy][39m Determined the downstream protocol as 'W3C'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/appium/device/info] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"androidId":"7951ca6410d7cbc1","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"OnePlus","carrierName":"CMCC","displayDensity":480,"locale":"zh_CN","manufacturer":"OnePlus","model":"LE2100","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"ims","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":145000,"linkUpstreamBandwidthKbps":60000,"networkCapabilities":"NET_CAPABILITY_IMS...
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys window'
[35m[AndroidDriver][39m Screen already unlocked, doing nothing
[35m[UiAutomator2][39m Starting 'com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity and waiting for 'com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am start -W -n com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/appium/device/pixel_ratio] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":3}
[debug] [35m[WD Proxy][39m Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/appium/device/system_bars] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"statusBar":103}}
[debug] [35m[WD Proxy][39m Matched '/window/current/size' to command name 'getWindowSize'
[debug] [35m[WD Proxy][39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/window/current/size] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":2297,"width":1080}}
[35m[Appium][39m New AndroidUiautomator2Driver session created successfully, session 5fa0d900-1c0a-4514-9200-2b96feed6457 added to master session list
[debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1646914279835 (20:11:19 GMT+0800 (中国标准时间))
[debug] [35m[W3C (5fa0d900)][39m Cached the protocol value 'W3C' for the new session 5fa0d900-1c0a-4514-9200-2b96feed6457
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"dc938aef","deviceUDID":"dc938aef","deviceApiLevel":30,"platformVersion":"11"...
[35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m20551 ms - 1293[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts[39m
[35m[HTTP][39m [90m{"implicit":30000}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":30000}}
[debug] [35m[BaseDriver][39m Set implicit wait to 30000ms
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts [39m[32m200[39m [90m4 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync[39m
[35m[HTTP][39m [90m{"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[35m[AndroidDriver][39m Executing native command 'mobile:shell'
[debug] [35m[AndroidDriver][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.execute() result: {"stdout":"u0_a316 13285 870 6029576 152244 0 0 S com.picc.nx\r\n","stderr":""}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync [39m[32m200[39m [90m544 ms - 116[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"value":"#com\\.picc\\.nx\\:id\\/patternLockerView","using":"css selector"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/patternLockerView","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 15 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 529 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 1054 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"ELEMENT":"00000000-0000-0381-ffff-ffff00000153","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0381-ffff-ffff00000153"}}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0381-ffff-ffff00000153","ELEMENT":"00000000-0000-0381-ffff-ffff00000153"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[32m200[39m [90m2220 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (5fa0d900)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0381-ffff-ffff00000153/rect] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":780,"width":780,"x":150,"y":846}}
[35m[WD Proxy][39m Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect [39m[32m200[39m [90m18 ms - 103[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (5fa0d900)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0381-ffff-ffff00000153/rect] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":780,"width":780,"x":150,"y":846}}
[35m[WD Proxy][39m Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect [39m[32m200[39m [90m11 ms - 103[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/touch/perform[39m
[35m[HTTP][39m [90m{"actions":[{"action":"press","options":{"x":540,"y":943}},{"action":"moveTo","options":{"x":247,"y":1236}},{"action":"wait","options":{"ms":100}},{"action":"moveTo","options":{"x":540,"y":1528}},{"action":"wait","options":{"ms":10}},{"action":"moveTo","options":{"x":832,"y":1236}},{"action":"wait","options":{"ms":10}},{"action":"release","options":{}}]}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":540,"y":943}},{"action":"moveTo","options":{"x":247,"y":1236}},{"action":"wait","options":{"ms":100}},{"action":"moveTo","options":{"x":540,"y":1528}},{"action":"wait","options":{"ms":10}},{"action":"moveTo","options":{"x":832,"y":1236}},{"action":"wait","options":{"ms":10}},{"action":"release","options":{}}],"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[WD Proxy][39m Matched '/touch/down' to command name 'touchDown'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/down] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/touch/down] with body: {"params":{"element":null,"x":540,"y":943}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/touch/move] with body: {"params":{"element":null,"x":247,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/touch/move] with body: {"params":{"element":null,"x":540,"y":1528}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/touch/move] with body: {"params":{"element":null,"x":832,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/up' to command name 'touchUp'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/up] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/touch/up] with body: {"params":{"x":832,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.performTouch() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/touch/perform [39m[32m200[39m [90m4018 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"xpath","selector":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"ELEMENT":"00000000-0000-0380-ffff-ffff00000017","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000017"}}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000017","ELEMENT":"00000000-0000-0380-ffff-ffff00000017"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[32m200[39m [90m1078 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000017/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-0380-ffff-ffff00000017"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff00000017","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-0380-ffff-ffff00000017/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-0380-ffff-ffff00000017/click] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0380-ffff-ffff00000017/click] with body: {"element":"00000000-0000-0380-ffff-ffff00000017"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000017/click [39m[32m200[39m [90m1405 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"value":"#com\\.picc\\.nx\\:id\\/tv_userCode","using":"css selector"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/tv_userCode","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/tv_userCode\")","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"ELEMENT":"00000000-0000-0380-ffff-ffff0000006c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000006c"}}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000006c","ELEMENT":"00000000-0000-0380-ffff-ffff0000006c"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[32m200[39m [90m26 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (5fa0d900)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text' to command name 'getText'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0380-ffff-ffff0000006c/text] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":"A110002716"}
[35m[WD Proxy][39m Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text [39m[32m200[39m [90m27 ms - 73[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"xpath","selector":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"ELEMENT":"00000000-0000-0380-ffff-ffff00000016","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000016"}}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000016","ELEMENT":"00000000-0000-0380-ffff-ffff00000016"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[32m200[39m [90m56 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000016/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-0380-ffff-ffff00000016"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff00000016","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-0380-ffff-ffff00000016/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-0380-ffff-ffff00000016/click] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0380-ffff-ffff00000016/click] with body: {"element":"00000000-0000-0380-ffff-ffff00000016"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000016/click [39m[32m200[39m [90m60 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"ELEMENT":"00000000-0000-0380-ffff-ffff0000013b","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000013b"}}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000013b","ELEMENT":"00000000-0000-0380-ffff-ffff0000013b"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[32m200[39m [90m907 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000013b/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-0380-ffff-ffff0000013b"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff0000013b","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-0380-ffff-ffff0000013b/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-0380-ffff-ffff0000013b/click] to [POST http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/element/00000000-0000-0380-ffff-ffff0000013b/click] with body: {"element":"00000000-0000-0380-ffff-ffff0000013b"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000013b/click [39m[32m200[39m [90m34 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts[39m
[35m[HTTP][39m [90m{"implicit":0}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,0,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":0}}
[debug] [35m[BaseDriver][39m Set implicit wait to 0ms
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts [39m[32m200[39m [90m2 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element[39m
[35m[HTTP][39m [90m{"value":"#你好","using":"css selector"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.findElement() with args: ["css selector","#你好","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[W3C (5fa0d900)][39m Encountered internal error running command: InvalidSelectorError: Invalid CSS selector '#你好'. Reason: 'Error: Rule expected but "你" found.'
[debug] [35m[W3C (5fa0d900)][39m at Object.toUiAutomatorSelector (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\css-converter.js:311:11)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.doFindElementOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\find.js:27:36)
[debug] [35m[W3C (5fa0d900)][39m at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:36:28)
[debug] [35m[W3C (5fa0d900)][39m at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:151:18)
[debug] [35m[W3C (5fa0d900)][39m at spin (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:138:26)
[debug] [35m[W3C (5fa0d900)][39m at waitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:155:16)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.implicitWaitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:153:16)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.findElOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:60:16)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\find.js:33:23)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.findElement (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\find.js:53:21)
[debug] [35m[W3C (5fa0d900)][39m at commandExecutor (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:335:9)
[debug] [35m[W3C (5fa0d900)][39m at C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:146:12
[debug] [35m[W3C (5fa0d900)][39m at AsyncLock._promiseTry (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:280:31)
[debug] [35m[W3C (5fa0d900)][39m at exec (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:145:9)
[debug] [35m[W3C (5fa0d900)][39m at AsyncLock.acquire (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:162:3)
[debug] [35m[W3C (5fa0d900)][39m at AndroidUiautomator2Driver.executeCommand (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:348:39)
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element [39m[33m400[39m [90m46 ms - 2807[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts[39m
[35m[HTTP][39m [90m{"implicit":30000}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":30000}}
[debug] [35m[BaseDriver][39m Set implicit wait to 30000ms
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts [39m[32m200[39m [90m1 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync[39m
[35m[HTTP][39m [90m{"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[35m[AndroidDriver][39m Executing native command 'mobile:shell'
[debug] [35m[AndroidDriver][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.execute() result: {"stdout":"u0_a316 13285 870 6605088 233444 0 0 S com.picc.nx\r\n","stderr":""}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync [39m[32m200[39m [90m539 ms - 116[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/log[39m
[35m[HTTP][39m [90m{"type":"logcat"}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.getLog() with args: ["logcat","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Retrieving 'logcat' logs
[debug] [35m[BaseDriver][39m Retrieving supported log types
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.getLog() result: [{"timestamp":1646914268126,"level":"ALL","message":"--------- beginning of system"},{"timestamp":1646914268126,"level":"ALL","message":"--------- beginning of main"},{"timestamp":1646914268126,"level":"ALL","message":"03-10 20:15:00.030 E/OplusCustomizeRestrictionManagerService( 1937): isBiometricDisabled start"},{"timestamp":1646914268126,"level":"ALL","message":"03-10 20:15:00.031 E/OplusCustomizeRestrictionManagerService( 1937): isBiometricDisabled start"},{"timestamp":1646914269978,"level":"ALL","message":"03-10 20:15:02.103 E/OplusNecManagerHelper( 3449): com.oplus.nec.OplusNecManager.notifyOrigSignalStrengthChanged [class android.telephony.SignalStrength, int]"},{"timestamp":1646914270047,"level":"ALL","message":"03-10 20:15:02.114 E/OplusNecManagerHelper( 3449): com.oplus.nec.OplusNecManager.notifyOrigSignalStrengthChanged [class android.telephony.SignalStrength, int]"},{"timestamp":1646914272089,"level":"ALL","message":"03-10 20:15:04.346 E/OplusNecManagerHelper( 3449): com.oplus.nec.OplusNecManag...
[35m[HTTP][39m [37m<-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/log [39m[32m200[39m [90m14 ms - 88300[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/screenshot[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.getScreenshot() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot'
[debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/screenshot] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N1rUFRnnj/wb0MDzVXudwRBualIBBMIiFxEyc2YxKi5zMTJzkxN7UzV\nvtlXuy+SfbdbtbW1tVWbndp1JmajE000MYmjaBDEiGJQBMMd5aIgN4GWa3Pr83/Bv589Bxrohm7o\n1u+nyqo+3afPefqA9Dnf8zy/R/XRRx9JICIiIiIiIiKyYw5r3QAiIiIiIiIiopViwEFERERERERE\ndo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZ\nPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3\nGHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1j\nwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8B\nBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYc\nRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQ\nERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFE\nREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxER\nERERERHZPQYcRERERERERGT3...
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N1rUFRnnj/wb0MDzVXudwRBualIBBMIiFxEyc2YxKi5zMTJzkxN7UzV\nvtlXuy+SfbdbtbW1tVWbndp1JmajE000MYmjaBDEiGJQBMMd5aIgN4GWa3Pr83/Bv589Bxrohm7o\n1u+nyqo+3afPefqA9Dnf8zy/R/XRRx9JICIiIiIiIiKyYw5r3QAiIiIiIiIiopViwEFERERERERE\ndo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZ\nPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3\nGHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1j\nwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8B\nBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYc\nRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQ\nERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFE\nREREREREdo8BBxERERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxER\nERERERHZPQYcRERERERERGT3GHAQERERERERkd1jwEFEREREREREdo8BBxERERERERHZPQYcRERE\nRERERG...
[35m[HTTP][39m [37m<-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/screenshot [39m[32m200[39m [90m242 ms - 215194[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mDELETE[39m [37m/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (5fa0d900)][39m Calling AppiumDriver.deleteSession() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [35m[BaseDriver][39m Event 'quitSessionRequested' logged at 1646914291421 (20:11:31 GMT+0800 (中国标准时间))
[35m[Appium][39m Removing session 5fa0d900-1c0a-4514-9200-2b96feed6457 from our master session list
[debug] [35m[UiAutomator2][39m Deleting UiAutomator2 session
[debug] [35m[UiAutomator2][39m Deleting UiAutomator2 server session
[debug] [35m[WD Proxy][39m Matched '/' to command name 'deleteSession'
[debug] [35m[WD Proxy][39m Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [35m[UiAutomator2][39m Resetting IME to 'com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop com.picc.nx'
[debug] [35m[Instrumentation][39m .
[debug] [35m[Instrumentation][39m
[debug] [35m[Instrumentation][39m Time: 15.263
[debug] [35m[Instrumentation][39m
[debug] [35m[Instrumentation][39m OK (1 test)
[debug] [35m[Logcat][39m Stopping logcat capture
[debug] [35m[ADB][39m Removing forwarded port socket connection: 8200
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward --remove tcp:8200'
[debug] [35m[Instrumentation][39m The process has exited with code 0
[35m[UiAutomator2][39m Restoring hidden api policy to the device default configuration
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [35m[BaseDriver][39m Event 'quitSessionFinished' logged at 1646914293480 (20:11:33 GMT+0800 (中国标准时间))
[debug] [35m[W3C (5fa0d900)][39m Received response: null
[debug] [35m[W3C (5fa0d900)][39m But deleting session, so not returning
[debug] [35m[W3C (5fa0d900)][39m Responding to client with driver.deleteSession() result: null
[35m[HTTP][39m [37m<-- DELETE /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457 [39m[32m200[39m [90m2062 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[GENERIC][39m Calling AppiumDriver.getStatus() with args: []
[debug] [35m[GENERIC][39m Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0"}}
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m1 ms - 68[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[35m[HTTP][39m [90m{"desiredCapabilities":{"appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"chromeOptions":{"w3c":false},"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true},"capabilities":{"firstMatch":[{"goog:chromeOptions":{"w3c":false},"platformName":"android"}]}}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.createSession() with args: [{"appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"chromeOptions":{"w3c":false},"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true},null,{"firstMatch":[{"goog:chromeOptions":{"w3c":false},"platformName":"android"}]}]
[debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1646914409069 (20:13:29 GMT+0800 (中国标准时间))
[35m[BaseDriver][39m The following capabilities are not standard capabilities and should have an extension prefix:
[35m[BaseDriver][39m udid
[35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["appPackage","logcatFormat","logcatFilterSpecs","noReset","clearDeviceLogsOnStart","appActivity","newCommandTimeout","adbExecTimeout","chromeOptions","unicodeKeyboard","resetKeyboard"]
[35m[Appium][39m Trying to fix W3C capabilities by merging them with JSONWP caps
[35m[BaseDriver][39m The following capabilities are not standard capabilities and should have an extension prefix:
[35m[BaseDriver][39m appPackage
[35m[BaseDriver][39m logcatFormat
[35m[BaseDriver][39m logcatFilterSpecs
[35m[BaseDriver][39m noReset
[35m[BaseDriver][39m clearDeviceLogsOnStart
[35m[BaseDriver][39m appActivity
[35m[BaseDriver][39m newCommandTimeout
[35m[BaseDriver][39m adbExecTimeout
[35m[BaseDriver][39m unicodeKeyboard
[35m[BaseDriver][39m resetKeyboard
[35m[BaseDriver][39m udid
[35m[Appium][39m
[35m[Appium][39m ======================================================================
[35m[Appium][39m DEPRECATION WARNING:
[35m[Appium][39m
[35m[Appium][39m The 'automationName' capability was not provided in the desired
[35m[Appium][39m capabilities for this Android session
[35m[Appium][39m
[35m[Appium][39m Setting 'automationName=UiAutomator2' by default and using the
[35m[Appium][39m UiAutomator2 Driver
[35m[Appium][39m
[35m[Appium][39m The next major version of Appium (2.x) will **require** the
[35m[Appium][39m 'automationName' capability to be set for all sessions on all
[35m[Appium][39m platforms
[35m[Appium][39m
[35m[Appium][39m In previous versions (Appium <= 1.13.x), the default was
[35m[Appium][39m 'automationName=UiAutomator1'
[35m[Appium][39m
[35m[Appium][39m If you wish to use that automation instead of UiAutomator2, please
[35m[Appium][39m add 'automationName=UiAutomator1' to your desired capabilities
[35m[Appium][39m
[35m[Appium][39m For more information about drivers, please visit
[35m[Appium][39m http://appium.io/docs/en/about-appium/intro/ and explore the
[35m[Appium][39m 'Drivers' menu
[35m[Appium][39m
[35m[Appium][39m ======================================================================
[35m[Appium][39m
[35m[Appium][39m Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[debug] [35m[Appium][39m There are no active sessions for cleanup
[35m[Appium][39m Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [35m[BaseDriver][39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] [35m[BaseDriver][39m Creating session with W3C capabilities: {
[debug] [35m[BaseDriver][39m "alwaysMatch": {
[debug] [35m[BaseDriver][39m "appium:appPackage": "com.picc.nx",
[debug] [35m[BaseDriver][39m "appium:logcatFormat": "time",
[debug] [35m[BaseDriver][39m "appium:logcatFilterSpecs": [
[debug] [35m[BaseDriver][39m "*:E"
[debug] [35m[BaseDriver][39m ],
[debug] [35m[BaseDriver][39m "appium:noReset": true,
[debug] [35m[BaseDriver][39m "appium:clearDeviceLogsOnStart": true,
[debug] [35m[BaseDriver][39m "appium:appActivity": "com.picc.nx.ui.activity.extras.SplashActivity",
[debug] [35m[BaseDriver][39m "appium:newCommandTimeout": 180,
[debug] [35m[BaseDriver][39m "appium:adbExecTimeout": 180000,
[debug] [35m[BaseDriver][39m "appium:unicodeKeyboard": true,
[debug] [35m[BaseDriver][39m "appium:resetKeyboard": true,
[debug] [35m[BaseDriver][39m "goog:chromeOptions": {
[debug] [35m[BaseDriver][39m "w3c": false
[debug] [35m[BaseDriver][39m },
[debug] [35m[BaseDriver][39m "platformName": "android",
[debug] [35m[BaseDriver][39m "appium:udid": "dc938aef"
[debug] [35m[BaseDriver][39m },
[debug] [35m[BaseDriver][39m "firstMatch": [
[debug] [35m[BaseDriver][39m {}
[debug] [35m[BaseDriver][39m ]
[debug] [35m[BaseDriver][39m }
[35m[BaseDriver][39m The following capabilities were provided, but are not recognized by Appium:
[35m[BaseDriver][39m goog:chromeOptions
[35m[BaseDriver][39m Session created with session id: 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[35m[UiAutomator2][39m Starting 'com.picc.nx' directly on the device
[35m[ADB][39m Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[35m[AndroidDriver][39m Retrieving device list
[debug] [35m[ADB][39m Trying to find a connected android device
[debug] [35m[ADB][39m Getting connected devices
[debug] [35m[ADB][39m Connected devices: [{"udid":"dc938aef","state":"device"}]
[35m[AndroidDriver][39m Using device: dc938aef
[35m[ADB][39m Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[debug] [35m[ADB][39m Setting device id to dc938aef
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.sdk'
[debug] [35m[ADB][39m Current device property 'ro.build.version.sdk': 30
[35m[ADB][39m Getting device platform version
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.release'
[debug] [35m[ADB][39m Current device property 'ro.build.version.release': 11
[debug] [35m[ADB][39m Device API level: 30
[35m[UiAutomator2][39m Relaxing hidden api policy
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[35m[AndroidDriver][39m No app sent in, not parsing package/activity
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef wait-for-device'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell echo ping'
[debug] [35m[AndroidDriver][39m Pushing settings apk to device...
[debug] [35m[ADB][39m Getting install status for io.appium.settings
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [35m[ADB][39m 'io.appium.settings' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.settings'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [35m[ADB][39m The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0')
[debug] [35m[ADB][39m There is no need to install/upgrade 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [35m[ADB][39m Getting IDs of all 'io.appium.settings' processes
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'pgrep --help; echo $?''
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [35m[AndroidDriver][39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell appops set io.appium.settings android:mock_location allow'
[debug] [35m[Logcat][39m Clearing logcat logs from device
[debug] [35m[Logcat][39m Starting logs capture with command: C:\\software\\SDK\\platform-tools\\adb.exe -P 5037 -s dc938aef logcat -v time \*\:E
[debug] [35m[AndroidDriver][39m Enabling Unicode keyboard support
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell settings get secure default_input_method'
[debug] [35m[AndroidDriver][39m Unsetting previous IME com.iflytek.inputmethod.oppo/.FlyIME
[debug] [35m[AndroidDriver][39m Setting IME to 'io.appium.settings/.UnicodeIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime enable io.appium.settings/.UnicodeIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set io.appium.settings/.UnicodeIME'
[debug] [35m[UiAutomator2][39m Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [35m[ADB][39m Forwarding system: 8200 to device: 6790
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward tcp:8200 tcp:6790'
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [35m[ADB][39m 'io.appium.uiautomator2.server' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.uiautomator2.server'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [35m[ADB][39m The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.24.0' >= '4.24.0')
[debug] [35m[UiAutomator2][39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [35m[ADB][39m Checking app cert for C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.24.0.apk
[debug] [35m[ADB][39m Using the previously cached signature entry for 'appium-uiautomator2-server-v4.24.0.apk'
[debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-v4.24.0.apk'
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server.test
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [35m[ADB][39m 'io.appium.uiautomator2.server.test' is installed
[debug] [35m[ADB][39m Checking app cert for C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] [35m[ADB][39m Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Server packages are not going to be (re)installed
[debug] [35m[UiAutomator2][39m Waiting up to 30000ms for services to be available
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pm list instrumentation'
[debug] [35m[UiAutomator2][39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[35m[ADB][39m Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [35m[ADB][39m Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[debug] [35m[UiAutomator2][39m No app capability. Assuming it is already on the device
[debug] [35m[UiAutomator2][39m Performing shallow cleanup of automation leftovers
[debug] [35m[UiAutomator2][39m No obsolete sessions have been detected (socket hang up)
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop io.appium.uiautomator2.server.test'
[35m[UiAutomator2][39m Starting UIAutomator2 server 4.24.0
[35m[UiAutomator2][39m Using UIAutomator2 server from 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.24.0.apk' and test from 'C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [35m[ADB][39m Creating ADB subprocess with args: ["-P",5037,"-s","dc938aef","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[35m[WD Proxy][39m socket hang up
[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[35m[WD Proxy][39m socket hang up
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [35m[UiAutomator2][39m The initialization of the instrumentation process took 2423ms
[debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession'
[debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"dc938aef","deviceUDID":"dc938aef"}],"alwaysMatch":{}}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"d...
[35m[WD Proxy][39m Determined the downstream protocol as 'W3C'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/appium/device/info] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"androidId":"7951ca6410d7cbc1","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"OnePlus","carrierName":"CMCC","displayDensity":480,"locale":"zh_CN","manufacturer":"OnePlus","model":"LE2100","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"ims","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":145000,"linkUpstreamBandwidthKbps":60000,"networkCapabilities":"NET_CAPABILITY_IMS...
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys window'
[35m[AndroidDriver][39m Screen already unlocked, doing nothing
[35m[UiAutomator2][39m Starting 'com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity and waiting for 'com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am start -W -n com.picc.nx/com.picc.nx.ui.activity.extras.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/appium/device/pixel_ratio] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":3}
[debug] [35m[WD Proxy][39m Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/appium/device/system_bars] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"statusBar":103}}
[debug] [35m[WD Proxy][39m Matched '/window/current/size' to command name 'getWindowSize'
[debug] [35m[WD Proxy][39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/window/current/size] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":2297,"width":1080}}
[35m[Appium][39m New AndroidUiautomator2Driver session created successfully, session 8554cb5f-ffe0-433a-94fc-0e7c337200c0 added to master session list
[debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1646914425921 (20:13:45 GMT+0800 (中国标准时间))
[debug] [35m[W3C (8554cb5f)][39m Cached the protocol value 'W3C' for the new session 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef"},"goog:chromeOptions":{"w3c":false},"platformName":"android","appPackage":"com.picc.nx","logcatFormat":"time","logcatFilterSpecs":["*:E"],"noReset":true,"clearDeviceLogsOnStart":true,"appActivity":"com.picc.nx.ui.activity.extras.SplashActivity","newCommandTimeout":180,"adbExecTimeout":180000,"unicodeKeyboard":true,"resetKeyboard":true,"udid":"dc938aef","deviceName":"dc938aef","deviceUDID":"dc938aef","deviceApiLevel":30,"platformVersion":"11"...
[35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m16854 ms - 1293[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts[39m
[35m[HTTP][39m [90m{"implicit":30000}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":30000}}
[debug] [35m[BaseDriver][39m Set implicit wait to 30000ms
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts [39m[32m200[39m [90m1 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync[39m
[35m[HTTP][39m [90m{"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[35m[AndroidDriver][39m Executing native command 'mobile:shell'
[debug] [35m[AndroidDriver][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.execute() result: {"stdout":"u0_a316 15467 870 6010084 147792 0 0 S com.picc.nx\r\n","stderr":""}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync [39m[32m200[39m [90m532 ms - 116[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"value":"#com\\.picc\\.nx\\:id\\/patternLockerView","using":"css selector"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/patternLockerView","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 17 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 530 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[35m[WD Proxy][39m Got response with status 404: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] [35m[W3C][39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] [35m[BaseDriver][39m Waited for 1046 ms so far
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/patternLockerView\")","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"ELEMENT":"00000000-0000-039b-ffff-ffff00000153","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039b-ffff-ffff00000153"}}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039b-ffff-ffff00000153","ELEMENT":"00000000-0000-039b-ffff-ffff00000153"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[32m200[39m [90m2188 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (8554cb5f)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039b-ffff-ffff00000153/rect] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":780,"width":780,"x":150,"y":846}}
[35m[WD Proxy][39m Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect [39m[32m200[39m [90m11 ms - 103[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (8554cb5f)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039b-ffff-ffff00000153/rect] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":780,"width":780,"x":150,"y":846}}
[35m[WD Proxy][39m Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect [39m[32m200[39m [90m10 ms - 103[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/touch/perform[39m
[35m[HTTP][39m [90m{"actions":[{"action":"press","options":{"x":540,"y":943}},{"action":"moveTo","options":{"x":247,"y":1236}},{"action":"wait","options":{"ms":100}},{"action":"moveTo","options":{"x":540,"y":1528}},{"action":"wait","options":{"ms":10}},{"action":"moveTo","options":{"x":832,"y":1236}},{"action":"wait","options":{"ms":10}},{"action":"release","options":{}}]}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":540,"y":943}},{"action":"moveTo","options":{"x":247,"y":1236}},{"action":"wait","options":{"ms":100}},{"action":"moveTo","options":{"x":540,"y":1528}},{"action":"wait","options":{"ms":10}},{"action":"moveTo","options":{"x":832,"y":1236}},{"action":"wait","options":{"ms":10}},{"action":"release","options":{}}],"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[WD Proxy][39m Matched '/touch/down' to command name 'touchDown'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/down] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/touch/down] with body: {"params":{"element":null,"x":540,"y":943}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/touch/move] with body: {"params":{"element":null,"x":247,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/touch/move] with body: {"params":{"element":null,"x":540,"y":1528}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/move' to command name 'touchMove'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/move] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/touch/move] with body: {"params":{"element":null,"x":832,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[WD Proxy][39m Matched '/touch/up' to command name 'touchUp'
[debug] [35m[WD Proxy][39m Proxying [POST /touch/up] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/touch/up] with body: {"params":{"x":832,"y":1236}}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.performTouch() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/touch/perform [39m[32m200[39m [90m4069 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"xpath","selector":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"ELEMENT":"00000000-0000-039a-ffff-ffff00000017","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000017"}}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000017","ELEMENT":"00000000-0000-039a-ffff-ffff00000017"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[32m200[39m [90m1047 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000017/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-039a-ffff-ffff00000017"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff00000017","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-039a-ffff-ffff00000017/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-039a-ffff-ffff00000017/click] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039a-ffff-ffff00000017/click] with body: {"element":"00000000-0000-039a-ffff-ffff00000017"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000017/click [39m[32m200[39m [90m1424 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"value":"#com\\.picc\\.nx\\:id\\/tv_userCode","using":"css selector"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/tv_userCode","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.picc.nx:id/tv_userCode\")","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"ELEMENT":"00000000-0000-039a-ffff-ffff0000006c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff0000006c"}}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff0000006c","ELEMENT":"00000000-0000-039a-ffff-ffff0000006c"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[32m200[39m [90m762 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text[39m
[35m[HTTP][39m [90m{}[39m
[35m[W3C (8554cb5f)][39m Driver proxy active, passing request on via HTTP proxy
[debug] [35m[WD Proxy][39m Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text' to command name 'getText'
[debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039a-ffff-ffff0000006c/text] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":"A110002716"}
[35m[WD Proxy][39m Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text [39m[32m200[39m [90m61 ms - 73[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"xpath","selector":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"ELEMENT":"00000000-0000-039a-ffff-ffff00000016","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000016"}}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000016","ELEMENT":"00000000-0000-039a-ffff-ffff00000016"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[32m200[39m [90m65 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000016/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-039a-ffff-ffff00000016"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff00000016","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-039a-ffff-ffff00000016/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-039a-ffff-ffff00000016/click] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039a-ffff-ffff00000016/click] with body: {"element":"00000000-0000-039a-ffff-ffff00000016"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000016/click [39m[32m200[39m [90m2000 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"using":"xpath","value":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 30000 ms for condition
[debug] [35m[WD Proxy][39m Matched '/element' to command name 'findElement'
[debug] [35m[WD Proxy][39m Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","context":"","multiple":false}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"ELEMENT":"00000000-0000-039a-ffff-ffff000000e4","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff000000e4"}}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff000000e4","ELEMENT":"00000000-0000-039a-ffff-ffff000000e4"}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[32m200[39m [90m186 ms - 137[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff000000e4/click[39m
[35m[HTTP][39m [90m{"id":"00000000-0000-039a-ffff-ffff000000e4"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff000000e4","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[WD Proxy][39m Matched '/element/00000000-0000-039a-ffff-ffff000000e4/click' to command name 'click'
[debug] [35m[WD Proxy][39m Proxying [POST /element/00000000-0000-039a-ffff-ffff000000e4/click] to [POST http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/element/00000000-0000-039a-ffff-ffff000000e4/click] with body: {"element":"00000000-0000-039a-ffff-ffff000000e4"}
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.click() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff000000e4/click [39m[32m200[39m [90m70 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts[39m
[35m[HTTP][39m [90m{"implicit":0}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,0,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":0}}
[debug] [35m[BaseDriver][39m Set implicit wait to 0ms
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts [39m[32m200[39m [90m1 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element[39m
[35m[HTTP][39m [90m{"value":"#你好","using":"css selector"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.findElement() with args: ["css selector","#你好","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[W3C (8554cb5f)][39m Encountered internal error running command: InvalidSelectorError: Invalid CSS selector '#你好'. Reason: 'Error: Rule expected but "你" found.'
[debug] [35m[W3C (8554cb5f)][39m at Object.toUiAutomatorSelector (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\css-converter.js:311:11)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.doFindElementOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\find.js:27:36)
[debug] [35m[W3C (8554cb5f)][39m at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:36:28)
[debug] [35m[W3C (8554cb5f)][39m at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:151:18)
[debug] [35m[W3C (8554cb5f)][39m at spin (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:138:26)
[debug] [35m[W3C (8554cb5f)][39m at waitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:155:16)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.implicitWaitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:153:16)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.findElOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:60:16)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\find.js:33:23)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.findElement (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\find.js:53:21)
[debug] [35m[W3C (8554cb5f)][39m at commandExecutor (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:335:9)
[debug] [35m[W3C (8554cb5f)][39m at C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:146:12
[debug] [35m[W3C (8554cb5f)][39m at AsyncLock._promiseTry (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:280:31)
[debug] [35m[W3C (8554cb5f)][39m at exec (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:145:9)
[debug] [35m[W3C (8554cb5f)][39m at AsyncLock.acquire (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:162:3)
[debug] [35m[W3C (8554cb5f)][39m at AndroidUiautomator2Driver.executeCommand (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:348:39)
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element [39m[33m400[39m [90m4 ms - 2807[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts[39m
[35m[HTTP][39m [90m{"implicit":30000}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m W3C timeout argument: {"implicit":30000}}
[debug] [35m[BaseDriver][39m Set implicit wait to 30000ms
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.timeouts() result: null
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts [39m[32m200[39m [90m1 ms - 14[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync[39m
[35m[HTTP][39m [90m{"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[35m[AndroidDriver][39m Executing native command 'mobile:shell'
[debug] [35m[AndroidDriver][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.execute() result: {"stdout":"u0_a316 15467 870 6601488 223784 0 0 S com.picc.nx\r\n","stderr":""}
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync [39m[32m200[39m [90m537 ms - 116[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/log[39m
[35m[HTTP][39m [90m{"type":"logcat"}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.getLog() with args: ["logcat","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Retrieving 'logcat' logs
[debug] [35m[BaseDriver][39m Retrieving supported log types
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.getLog() result: [{"timestamp":1646914416530,"level":"ALL","message":"--------- beginning of system"},{"timestamp":1646914416530,"level":"ALL","message":"--------- beginning of main"},{"timestamp":1646914417341,"level":"ALL","message":"03-10 20:17:29.562 E/WifiScoringParams( 1937): Invalid frequency(-1), using 5G as default rssi array"},{"timestamp":1646914417346,"level":"ALL","message":"03-10 20:17:29.602 E/ModemAciService( 3420): buffer size =55"},{"timestamp":1646914417346,"level":"ALL","message":"03-10 20:17:29.602 E/ModemAciService( 3420): CatchException oemModemAci2OppoModemAci() regreq:java.lang.IndexOutOfBoundsException: Index: 55, Size: 55"},{"timestamp":1646914417346,"level":"ALL","message":"03-10 20:17:29.602 E/ModemAciService( 3420): CatchException oemModemAci2OppoModemAci() regreq:java.lang.IndexOutOfBoundsException: Index: 57, Size: 55"},{"timestamp":1646914417346,"level":"ALL","message":"03-10 20:17:29.603 E/android.system.suspend@1.0-service( 722): Error opening kernel wakelock stats for: wakeup38: Permiss...
[35m[HTTP][39m [37m<-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/log [39m[32m200[39m [90m7 ms - 63397[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context [39m[32m200[39m [90m1 ms - 22[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/screenshot[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.getScreenshot() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot'
[debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/screenshot] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N1rUFRnngbwp6GB5ir3O4Kg3FREwAQCIqIouZmbUXOZiZOdmZramqr9\nsp92PyT7bbdqamtqqzab2nUmZqMTTTQxiaNoEMWIYryhcke5CMj9ItcGmj77ge13zoEGuqEbOPr8\nqqzqy+nTbzdI93nO//2/mo8++kgCEREREREREZGKOSz3AIiIiIiIiIiIFosBBxERERERERGpHgMO\nIiIiIiIiIlI9BhxEREREREREpHoMOIiIiIiIiIhI9RhwEBEREREREZHqMeAgIiIiIiIiItVjwEFE\nREREREREqseAg4iIiIiIiIhUjwEHEREREREREakeAw4iIiIiIiIiUj0GHERERERERESkegw4iIiI\niIiIiEj1GHAQERERERERkeox4CAiIiIiIiIi1WPAQURERERERESqx4CDiIiIiIiIiFSPAQcRERER\nERERqR4DDiIiIiIiIiJSPQYcRERERERERKR6DDiIiIiIiIiISPUYcBARERERERGR6jHgICIiIiIi\nIiLVY8BBRERERERERKrHgIOIiIiIiIiIVI8BBxERERERERGpHgMOIiIiIiIiIlI9BhxERERERERE\npHoMOIiIiIiIiIhI9RhwEBEREREREZHqMeAgIiIiIiIiItVjwEFEREREREREqseAg4iIiIiIiIhU\njwEHEREREREREakeAw4iIiIiIiIiUj0GHERERERERESkegw4iIiIiIiIiEj1GHAQERERERERkeox\n4CAiIiIiIiIi1WPAQURERERERESqx4CDiIiIiIiIiFSPAQcRERERERERqR4DDiIiIiIiIiJSPQYc\nRERERERERKR6DDiIiIiIiIiI...
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N1rUFRnngbwp6GB5ir3O4Kg3FREwAQCIqIouZmbUXOZiZOdmZramqr9\nsp92PyT7bbdqamtqqzab2nUmZqMTTTQxiaNoEMWIYryhcke5CMj9ItcGmj77ge13zoEGuqEbOPr8\nqqzqy+nTbzdI93nO//2/mo8++kgCEREREREREZGKOSz3AIiIiIiIiIiIFosBBxERERERERGpHgMO\nIiIiIiIiIlI9BhxEREREREREpHoMOIiIiIiIiIhI9RhwEBEREREREZHqMeAgIiIiIiIiItVjwEFE\nREREREREqseAg4iIiIiIiIhUjwEHEREREREREakeAw4iIiIiIiIiUj0GHERERERERESkegw4iIiI\niIiIiEj1GHAQERERERERkeox4CAiIiIiIiIi1WPAQURERERERESqx4CDiIiIiIiIiFSPAQcRERER\nERERqR4DDiIiIiIiIiJSPQYcRERERERERKR6DDiIiIiIiIiISPUYcBARERERERGR6jHgICIiIiIi\nIiLVY8BBRERERERERKrHgIOIiIiIiIiIVI8BBxERERERERGpHgMOIiIiIiIiIlI9BhxERERERERE\npHoMOIiIiIiIiIhI9RhwEBEREREREZHqMeAgIiIiIiIiItVjwEFEREREREREqseAg4iIiIiIiIhU\njwEHEREREREREakeAw4iIiIiIiIiUj0GHERERERERESkegw4iIiIiIiIiEj1GHAQERERERERkeox\n4CAiIiIiIiIi1WPAQURERERERESqx4CDiIiIiIiIiFSPAQcRERERERERqR4DDiIiIiIiIiJSPQYc\nRERERERERKR6DDiIiIiIiIiISPUYcBARERERERGR6jHgICIiIiIiIiLVY8BBRERERERERKrHgIOI\niIiIiI...
[35m[HTTP][39m [37m<-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/screenshot [39m[32m200[39m [90m287 ms - 214616[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mDELETE[39m [37m/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0[39m
[35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C (8554cb5f)][39m Calling AppiumDriver.deleteSession() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [35m[BaseDriver][39m Event 'quitSessionRequested' logged at 1646914439570 (20:13:59 GMT+0800 (中国标准时间))
[35m[Appium][39m Removing session 8554cb5f-ffe0-433a-94fc-0e7c337200c0 from our master session list
[debug] [35m[UiAutomator2][39m Deleting UiAutomator2 session
[debug] [35m[UiAutomator2][39m Deleting UiAutomator2 server session
[debug] [35m[WD Proxy][39m Matched '/' to command name 'deleteSession'
[debug] [35m[WD Proxy][39m Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [35m[UiAutomator2][39m Resetting IME to 'com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop com.picc.nx'
[debug] [35m[Instrumentation][39m .
[debug] [35m[Instrumentation][39m
[debug] [35m[Instrumentation][39m Time: 17.254
[debug] [35m[Instrumentation][39m
[debug] [35m[Instrumentation][39m OK (1 test)
[debug] [35m[Instrumentation][39m The process has exited with code 0
[debug] [35m[Logcat][39m Stopping logcat capture
[debug] [35m[ADB][39m Removing forwarded port socket connection: 8200
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward --remove tcp:8200'
[35m[UiAutomator2][39m Restoring hidden api policy to the device default configuration
[debug] [35m[ADB][39m Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [35m[BaseDriver][39m Event 'quitSessionFinished' logged at 1646914441682 (20:14:01 GMT+0800 (中国标准时间))
[debug] [35m[W3C (8554cb5f)][39m Received response: null
[debug] [35m[W3C (8554cb5f)][39m But deleting session, so not returning
[debug] [35m[W3C (8554cb5f)][39m Responding to client with driver.deleteSession() result: null
[35m[HTTP][39m [37m<-- DELETE /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0 [39m[32m200[39m [90m2113 ms - 14[39m
[35m[HTTP][39m [90m[39m
Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.
Please git clone https://github.com/appium/appium and from the sample-code
directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Appium compatibility with Grid 4 (custom locator strategies)
The problem When I run the app with GRID4, it says "Unable to determine element locating strategy for -android uiautomator" Environment Appium ...
Read more >[Solved]-Unable to determine element locating strategy for -android ...
[Solved]-Unable to determine element locating strategy for -android ... GRID 4 cant work with customa locatorn and UIselector, downgrade to GRID 3 or...
Read more >Unable to determine element locating strategy for -android ...
Method is scrolling view till element with text I need: public void tapOnElementByIdAndText(String resourceId, String visibleText) { driver.
Read more >How to locate element using UIAutomatorViewer - BrowserStack
Learn how to inspect & locate elements with UIAutomatorViewer for Appium ... UIAutomatorViewer is an Android App Testing tool developed by ...
Read more >Selenium Grid 4 and Appium together in harmony ... - YouTube
Selenium 4 brings a brand new Grid, full of features and great things! Grid 4 has a new flexible architecture, allowing you to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We need to make changes in the Grid but they will be smaller. We will work on that in the next couple of weeks. Next Selenium release is targeted to be during the first week of August.
Some updates here. We have some code in a PR for Grid, but we do not want to merge that before the spec is fixed, and there is a PR for that too.
Will share updates here when something new comes up.