appium: When I run the app with GRID4, it says "Unable to determine element locating strategy for -android uiautomator"

The 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:

[Appium] Welcome to Appium v1.22.0
[Appium] Non-default server args:
[Appium]   port: 4726
[Appium]   sessionOverride: true
[Appium]   relaxedSecurityEnabled: true
[Appium]   udid: dc938aef
[Appium] Deprecated server args:
[Appium]   -U => --default-capabilities
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium]   udid: dc938aef
[Appium] Appium REST http interface listener started on 0.0.0.0:4726
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0"}}
[HTTP] <-- GET /wd/hub/status 200 7 ms - 68
[HTTP] 
[HTTP] --> POST /wd/hub/session
[HTTP] {"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"}]}}
[debug] [W3C] 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] [BaseDriver] Event 'newSessionRequested' logged at 1646914259286 (20:10:59 GMT+0800 (中国标准时间))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver]   udid
[Appium] 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"]
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver]   appPackage
[BaseDriver]   logcatFormat
[BaseDriver]   logcatFilterSpecs
[BaseDriver]   noReset
[BaseDriver]   clearDeviceLogsOnStart
[BaseDriver]   appActivity
[BaseDriver]   newCommandTimeout
[BaseDriver]   adbExecTimeout
[BaseDriver]   unicodeKeyboard
[BaseDriver]   resetKeyboard
[BaseDriver]   udid
[Appium] 

[Appium] ======================================================================

[Appium]   DEPRECATION WARNING:

[Appium] 

[Appium]   The 'automationName' capability was not provided in the desired 
[Appium]   capabilities for this Android session

[Appium] 

[Appium]   Setting 'automationName=UiAutomator2' by default and using the 
[Appium]   UiAutomator2 Driver

[Appium] 

[Appium]   The next major version of Appium (2.x) will **require** the 
[Appium]   'automationName' capability to be set for all sessions on all 
[Appium]   platforms

[Appium] 

[Appium]   In previous versions (Appium <= 1.13.x), the default was 
[Appium]   'automationName=UiAutomator1'

[Appium] 

[Appium]   If you wish to use that automation instead of UiAutomator2, please 
[Appium]   add 'automationName=UiAutomator1' to your desired capabilities

[Appium] 

[Appium]   For more information about drivers, please visit 
[Appium]   http://appium.io/docs/en/about-appium/intro/ and explore the 
[Appium]   'Drivers' menu

[Appium] 

[Appium] ======================================================================

[Appium] 
[Appium] Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[debug] [Appium] There are no active sessions for cleanup
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "appium:appPackage": "com.picc.nx",
[debug] [BaseDriver]     "appium:logcatFormat": "time",
[debug] [BaseDriver]     "appium:logcatFilterSpecs": [
[debug] [BaseDriver]       "*:E"
[debug] [BaseDriver]     ],
[debug] [BaseDriver]     "appium:noReset": true,
[debug] [BaseDriver]     "appium:clearDeviceLogsOnStart": true,
[debug] [BaseDriver]     "appium:appActivity": "com.picc.nx.ui.activity.extras.SplashActivity",
[debug] [BaseDriver]     "appium:newCommandTimeout": 180,
[debug] [BaseDriver]     "appium:adbExecTimeout": 180000,
[debug] [BaseDriver]     "appium:unicodeKeyboard": true,
[debug] [BaseDriver]     "appium:resetKeyboard": true,
[debug] [BaseDriver]     "goog:chromeOptions": {
[debug] [BaseDriver]       "w3c": false
[debug] [BaseDriver]     },
[debug] [BaseDriver]     "platformName": "android",
[debug] [BaseDriver]     "appium:udid": "dc938aef"
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver]   goog:chromeOptions
[BaseDriver] Session created with session id: 5fa0d900-1c0a-4514-9200-2b96feed6457
[UiAutomator2] Starting 'com.picc.nx' directly on the device
[ADB] Found 1 'build-tools' folders under 'C:\software\SDK' (newest first):
[ADB]     C:/software/SDK/build-tools/30.0.3
[ADB] Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"dc938aef","state":"device"}]
[AndroidDriver] Using device: dc938aef
[ADB] Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[debug] [ADB] Setting device id to dc938aef
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 30
[ADB] Getting device platform version
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 11
[debug] [ADB] Device API level: 30
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] 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''
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef wait-for-device'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [ADB] 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] [ADB] 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] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'pgrep --help; echo $?''
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell appops set io.appium.settings android:mock_location allow'
[debug] [Logcat] Clearing logcat logs from device
[debug] [Logcat] Starting logs capture with command: C:\\software\\SDK\\platform-tools\\adb.exe -P 5037 -s dc938aef logcat -v time \*\:E
[debug] [AndroidDriver] Enabling Unicode keyboard support
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell settings get secure default_input_method'
[debug] [AndroidDriver] Unsetting previous IME com.iflytek.inputmethod.oppo/.FlyIME
[debug] [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime enable io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set io.appium.settings/.UnicodeIME'
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward tcp:8200 tcp:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 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] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] 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
[ADB] Using 'apksigner.jar' from 'C:\software\SDK\build-tools\30.0.3\lib\apksigner.jar'
[debug] [ADB] 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] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

[debug] [ADB] 
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.24.0.apk'
[ADB] '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] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] 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] [ADB] 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] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

[debug] [ADB] 
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] '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
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [ADB] 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] [ADB] 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] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.24.0
[UiAutomator2] 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'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] 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] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 2408ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] 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] [WD Proxy] 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...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] 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] [WD Proxy] 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] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] 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] [ADB] 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] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":3}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"statusBar":103}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":2297,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 5fa0d900-1c0a-4514-9200-2b96feed6457 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1646914279835 (20:11:19 GMT+0800 (中国标准时间))
[debug] [W3C (5fa0d900)] Cached the protocol value 'W3C' for the new session 5fa0d900-1c0a-4514-9200-2b96feed6457
[debug] [W3C (5fa0d900)] 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"...
[HTTP] <-- POST /wd/hub/session 200 20551 ms - 1293
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts
[HTTP] {"implicit":30000}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":30000}}
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [W3C (5fa0d900)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts 200 4 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync
[HTTP] {"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[AndroidDriver] Executing native command 'mobile:shell'
[debug] [AndroidDriver] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [W3C (5fa0d900)] Responding to client with driver.execute() result: {"stdout":"u0_a316       13285    870 6029576 152244 0                   0 S com.picc.nx\r\n","stderr":""}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync 200 544 ms - 116
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"value":"#com\\.picc\\.nx\\:id\\/patternLockerView","using":"css selector"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/patternLockerView","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 15 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 529 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 1054 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (5fa0d900)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0381-ffff-ffff00000153","ELEMENT":"00000000-0000-0381-ffff-ffff00000153"}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 200 2220 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect
[HTTP] {}
[W3C (5fa0d900)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":780,"width":780,"x":150,"y":846}}
[WD Proxy] Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect 200 18 ms - 103
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect
[HTTP] {}
[W3C (5fa0d900)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":{"height":780,"width":780,"x":150,"y":846}}
[WD Proxy] Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0381-ffff-ffff00000153/rect 200 11 ms - 103
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/touch/perform
[HTTP] {"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":{}}]}
[debug] [W3C (5fa0d900)] 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] [WD Proxy] Matched '/touch/down' to command name 'touchDown'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [WD Proxy] Matched '/touch/up' to command name 'touchUp'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [W3C (5fa0d900)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/touch/perform 200 4018 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (5fa0d900)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000017","ELEMENT":"00000000-0000-0380-ffff-ffff00000017"}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 200 1078 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000017/click
[HTTP] {"id":"00000000-0000-0380-ffff-ffff00000017"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff00000017","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [WD Proxy] Matched '/element/00000000-0000-0380-ffff-ffff00000017/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [W3C (5fa0d900)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000017/click 200 1405 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"value":"#com\\.picc\\.nx\\:id\\/tv_userCode","using":"css selector"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/tv_userCode","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (5fa0d900)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000006c","ELEMENT":"00000000-0000-0380-ffff-ffff0000006c"}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 200 26 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text
[HTTP] {}
[W3C (5fa0d900)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text' to command name 'getText'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":"A110002716"}
[WD Proxy] Replacing sessionId 42a2bfc3-b3d7-4ac9-ad13-7b2484451da3 with 5fa0d900-1c0a-4514-9200-2b96feed6457
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000006c/text 200 27 ms - 73
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (5fa0d900)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff00000016","ELEMENT":"00000000-0000-0380-ffff-ffff00000016"}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 200 56 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000016/click
[HTTP] {"id":"00000000-0000-0380-ffff-ffff00000016"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff00000016","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [WD Proxy] Matched '/element/00000000-0000-0380-ffff-ffff00000016/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [W3C (5fa0d900)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff00000016/click 200 60 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"using":"xpath","value":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (5fa0d900)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0380-ffff-ffff0000013b","ELEMENT":"00000000-0000-0380-ffff-ffff0000013b"}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 200 907 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000013b/click
[HTTP] {"id":"00000000-0000-0380-ffff-ffff0000013b"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.click() with args: ["00000000-0000-0380-ffff-ffff0000013b","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [WD Proxy] Matched '/element/00000000-0000-0380-ffff-ffff0000013b/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [W3C (5fa0d900)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element/00000000-0000-0380-ffff-ffff0000013b/click 200 34 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts
[HTTP] {"implicit":0}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,0,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":0}}
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [W3C (5fa0d900)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts 200 2 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element
[HTTP] {"value":"#你好","using":"css selector"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.findElement() with args: ["css selector","#你好","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [W3C (5fa0d900)] Encountered internal error running command: InvalidSelectorError: Invalid CSS selector '#你好'. Reason: 'Error: Rule expected but "你" found.'
[debug] [W3C (5fa0d900)]     at Object.toUiAutomatorSelector (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\css-converter.js:311:11)
[debug] [W3C (5fa0d900)]     at AndroidUiautomator2Driver.doFindElementOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\find.js:27:36)
[debug] [W3C (5fa0d900)]     at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:36:28)
[debug] [W3C (5fa0d900)]     at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:151:18)
[debug] [W3C (5fa0d900)]     at spin (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:138:26)
[debug] [W3C (5fa0d900)]     at waitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:155:16)
[debug] [W3C (5fa0d900)]     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] [W3C (5fa0d900)]     at AndroidUiautomator2Driver.findElOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:60:16)
[debug] [W3C (5fa0d900)]     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] [W3C (5fa0d900)]     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] [W3C (5fa0d900)]     at commandExecutor (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:335:9)
[debug] [W3C (5fa0d900)]     at C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:146:12
[debug] [W3C (5fa0d900)]     at AsyncLock._promiseTry (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:280:31)
[debug] [W3C (5fa0d900)]     at exec (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:145:9)
[debug] [W3C (5fa0d900)]     at AsyncLock.acquire (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:162:3)
[debug] [W3C (5fa0d900)]     at AndroidUiautomator2Driver.executeCommand (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:348:39)
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/element 400 46 ms - 2807
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts
[HTTP] {"implicit":30000}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":30000}}
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [W3C (5fa0d900)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/timeouts 200 1 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync
[HTTP] {"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"5fa0d900-1c0a-4514-9200-2b96feed6457"]
[AndroidDriver] Executing native command 'mobile:shell'
[debug] [AndroidDriver] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [W3C (5fa0d900)] Responding to client with driver.execute() result: {"stdout":"u0_a316       13285    870 6605088 233444 0                   0 S com.picc.nx\r\n","stderr":""}
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/execute/sync 200 539 ms - 116
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context
[HTTP] {}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [W3C (5fa0d900)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context 200 1 ms - 22
[HTTP] 
[HTTP] --> POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/log
[HTTP] {"type":"logcat"}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.getLog() with args: ["logcat","5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Retrieving 'logcat' logs
[debug] [BaseDriver] Retrieving supported log types
[debug] [W3C (5fa0d900)] 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...
[HTTP] <-- POST /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/log 200 14 ms - 88300
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context
[HTTP] {}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [W3C (5fa0d900)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context 200 1 ms - 22
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context
[HTTP] {}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.getCurrentContext() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [W3C (5fa0d900)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/context 200 1 ms - 22
[HTTP] 
[HTTP] --> GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/screenshot
[HTTP] {}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.getScreenshot() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3/screenshot] with no body
[debug] [WD Proxy] 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] [W3C (5fa0d900)] 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...
[HTTP] <-- GET /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457/screenshot 200 242 ms - 215194
[HTTP] 
[HTTP] --> DELETE /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457
[HTTP] {}
[debug] [W3C (5fa0d900)] Calling AppiumDriver.deleteSession() with args: ["5fa0d900-1c0a-4514-9200-2b96feed6457"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1646914291421 (20:11:31 GMT+0800 (中国标准时间))
[Appium] Removing session 5fa0d900-1c0a-4514-9200-2b96feed6457 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/42a2bfc3-b3d7-4ac9-ad13-7b2484451da3] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"42a2bfc3-b3d7-4ac9-ad13-7b2484451da3","value":null}
[debug] [UiAutomator2] Resetting IME to 'com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop com.picc.nx'
[debug] [Instrumentation] .

[debug] [Instrumentation] 

[debug] [Instrumentation] Time: 15.263

[debug] [Instrumentation] 

[debug] [Instrumentation] OK (1 test)
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200 
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward --remove tcp:8200'
[debug] [Instrumentation] The process has exited with code 0
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] 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] [BaseDriver] Event 'quitSessionFinished' logged at 1646914293480 (20:11:33 GMT+0800 (中国标准时间))
[debug] [W3C (5fa0d900)] Received response: null
[debug] [W3C (5fa0d900)] But deleting session, so not returning
[debug] [W3C (5fa0d900)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/5fa0d900-1c0a-4514-9200-2b96feed6457 200 2062 ms - 14
[HTTP] 
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0"}}
[HTTP] <-- GET /wd/hub/status 200 1 ms - 68
[HTTP] 
[HTTP] --> POST /wd/hub/session
[HTTP] {"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"}]}}
[debug] [W3C] 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] [BaseDriver] Event 'newSessionRequested' logged at 1646914409069 (20:13:29 GMT+0800 (中国标准时间))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver]   udid
[Appium] 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"]
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver]   appPackage
[BaseDriver]   logcatFormat
[BaseDriver]   logcatFilterSpecs
[BaseDriver]   noReset
[BaseDriver]   clearDeviceLogsOnStart
[BaseDriver]   appActivity
[BaseDriver]   newCommandTimeout
[BaseDriver]   adbExecTimeout
[BaseDriver]   unicodeKeyboard
[BaseDriver]   resetKeyboard
[BaseDriver]   udid
[Appium] 

[Appium] ======================================================================

[Appium]   DEPRECATION WARNING:

[Appium] 

[Appium]   The 'automationName' capability was not provided in the desired 
[Appium]   capabilities for this Android session

[Appium] 

[Appium]   Setting 'automationName=UiAutomator2' by default and using the 
[Appium]   UiAutomator2 Driver

[Appium] 

[Appium]   The next major version of Appium (2.x) will **require** the 
[Appium]   'automationName' capability to be set for all sessions on all 
[Appium]   platforms

[Appium] 

[Appium]   In previous versions (Appium <= 1.13.x), the default was 
[Appium]   'automationName=UiAutomator1'

[Appium] 

[Appium]   If you wish to use that automation instead of UiAutomator2, please 
[Appium]   add 'automationName=UiAutomator1' to your desired capabilities

[Appium] 

[Appium]   For more information about drivers, please visit 
[Appium]   http://appium.io/docs/en/about-appium/intro/ and explore the 
[Appium]   'Drivers' menu

[Appium] 

[Appium] ======================================================================

[Appium] 
[Appium] Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[debug] [Appium] There are no active sessions for cleanup
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "appium:appPackage": "com.picc.nx",
[debug] [BaseDriver]     "appium:logcatFormat": "time",
[debug] [BaseDriver]     "appium:logcatFilterSpecs": [
[debug] [BaseDriver]       "*:E"
[debug] [BaseDriver]     ],
[debug] [BaseDriver]     "appium:noReset": true,
[debug] [BaseDriver]     "appium:clearDeviceLogsOnStart": true,
[debug] [BaseDriver]     "appium:appActivity": "com.picc.nx.ui.activity.extras.SplashActivity",
[debug] [BaseDriver]     "appium:newCommandTimeout": 180,
[debug] [BaseDriver]     "appium:adbExecTimeout": 180000,
[debug] [BaseDriver]     "appium:unicodeKeyboard": true,
[debug] [BaseDriver]     "appium:resetKeyboard": true,
[debug] [BaseDriver]     "goog:chromeOptions": {
[debug] [BaseDriver]       "w3c": false
[debug] [BaseDriver]     },
[debug] [BaseDriver]     "platformName": "android",
[debug] [BaseDriver]     "appium:udid": "dc938aef"
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver]   goog:chromeOptions
[BaseDriver] Session created with session id: 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[UiAutomator2] Starting 'com.picc.nx' directly on the device
[ADB] Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"dc938aef","state":"device"}]
[AndroidDriver] Using device: dc938aef
[ADB] Using 'adb.exe' from 'C:\software\SDK\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 start-server'
[debug] [ADB] Setting device id to dc938aef
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 30
[ADB] Getting device platform version
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 11
[debug] [ADB] Device API level: 30
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] 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''
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef wait-for-device'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.settings'
[debug] [ADB] 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] [ADB] 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] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell 'pgrep --help; echo $?''
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell appops set io.appium.settings android:mock_location allow'
[debug] [Logcat] Clearing logcat logs from device
[debug] [Logcat] Starting logs capture with command: C:\\software\\SDK\\platform-tools\\adb.exe -P 5037 -s dc938aef logcat -v time \*\:E
[debug] [AndroidDriver] Enabling Unicode keyboard support
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell settings get secure default_input_method'
[debug] [AndroidDriver] Unsetting previous IME com.iflytek.inputmethod.oppo/.FlyIME
[debug] [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime enable io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set io.appium.settings/.UnicodeIME'
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward tcp:8200 tcp:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 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] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] 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] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.24.0.apk'
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.24.0.apk'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] 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] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [ADB] 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] [ADB] 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] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.24.0
[UiAutomator2] 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'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] 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] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 2423ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] 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] [WD Proxy] 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...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] 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] [WD Proxy] 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] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] 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] [ADB] 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] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":3}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"statusBar":103}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":2297,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 8554cb5f-ffe0-433a-94fc-0e7c337200c0 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1646914425921 (20:13:45 GMT+0800 (中国标准时间))
[debug] [W3C (8554cb5f)] Cached the protocol value 'W3C' for the new session 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[debug] [W3C (8554cb5f)] 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"...
[HTTP] <-- POST /wd/hub/session 200 16854 ms - 1293
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts
[HTTP] {"implicit":30000}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":30000}}
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [W3C (8554cb5f)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts 200 1 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync
[HTTP] {"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[AndroidDriver] Executing native command 'mobile:shell'
[debug] [AndroidDriver] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [W3C (8554cb5f)] Responding to client with driver.execute() result: {"stdout":"u0_a316       15467    870 6010084 147792 0                   0 S com.picc.nx\r\n","stderr":""}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync 200 532 ms - 116
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"value":"#com\\.picc\\.nx\\:id\\/patternLockerView","using":"css selector"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/patternLockerView","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 17 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 530 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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}
[WD Proxy] 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] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [BaseDriver] Waited for 1046 ms so far
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (8554cb5f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039b-ffff-ffff00000153","ELEMENT":"00000000-0000-039b-ffff-ffff00000153"}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 200 2188 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect
[HTTP] {}
[W3C (8554cb5f)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":780,"width":780,"x":150,"y":846}}
[WD Proxy] Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect 200 11 ms - 103
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect
[HTTP] {}
[W3C (8554cb5f)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect' to command name 'getElementRect'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":{"height":780,"width":780,"x":150,"y":846}}
[WD Proxy] Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039b-ffff-ffff00000153/rect 200 10 ms - 103
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/touch/perform
[HTTP] {"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":{}}]}
[debug] [W3C (8554cb5f)] 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] [WD Proxy] Matched '/touch/down' to command name 'touchDown'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [WD Proxy] Matched '/touch/move' to command name 'touchMove'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [WD Proxy] Matched '/touch/up' to command name 'touchUp'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [W3C (8554cb5f)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/touch/perform 200 4069 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_mine\"][@text=\"我的\"]","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (8554cb5f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000017","ELEMENT":"00000000-0000-039a-ffff-ffff00000017"}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 200 1047 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000017/click
[HTTP] {"id":"00000000-0000-039a-ffff-ffff00000017"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff00000017","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [WD Proxy] Matched '/element/00000000-0000-039a-ffff-ffff00000017/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [W3C (8554cb5f)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000017/click 200 1424 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"value":"#com\\.picc\\.nx\\:id\\/tv_userCode","using":"css selector"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["css selector","#com\\.picc\\.nx\\:id\\/tv_userCode","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (8554cb5f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff0000006c","ELEMENT":"00000000-0000-039a-ffff-ffff0000006c"}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 200 762 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text
[HTTP] {}
[W3C (8554cb5f)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text' to command name 'getText'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":"A110002716"}
[WD Proxy] Replacing sessionId ad0a21ee-2ba5-45ed-9525-6e456ee06700 with 8554cb5f-ffe0-433a-94fc-0e7c337200c0
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff0000006c/text 200 61 ms - 73
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"using":"xpath","value":"//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.RadioButton[@resource-id=\"com.picc.nx:id/rb_home\"][@text=\"首页\"]","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (8554cb5f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff00000016","ELEMENT":"00000000-0000-039a-ffff-ffff00000016"}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 200 65 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000016/click
[HTTP] {"id":"00000000-0000-039a-ffff-ffff00000016"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff00000016","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [WD Proxy] Matched '/element/00000000-0000-039a-ffff-ffff00000016/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [W3C (8554cb5f)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff00000016/click 200 2000 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"using":"xpath","value":"//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text=\"新建验标\"]/parent::android.widget.LinearLayout","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 30000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] 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] [WD Proxy] 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] [W3C (8554cb5f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-039a-ffff-ffff000000e4","ELEMENT":"00000000-0000-039a-ffff-ffff000000e4"}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 200 186 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff000000e4/click
[HTTP] {"id":"00000000-0000-039a-ffff-ffff000000e4"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.click() with args: ["00000000-0000-039a-ffff-ffff000000e4","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [WD Proxy] Matched '/element/00000000-0000-039a-ffff-ffff000000e4/click' to command name 'click'
[debug] [WD Proxy] 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] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [W3C (8554cb5f)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element/00000000-0000-039a-ffff-ffff000000e4/click 200 70 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts
[HTTP] {"implicit":0}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,0,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":0}}
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [W3C (8554cb5f)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts 200 1 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element
[HTTP] {"value":"#你好","using":"css selector"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.findElement() with args: ["css selector","#你好","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [W3C (8554cb5f)] Encountered internal error running command: InvalidSelectorError: Invalid CSS selector '#你好'. Reason: 'Error: Rule expected but "你" found.'
[debug] [W3C (8554cb5f)]     at Object.toUiAutomatorSelector (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\css-converter.js:311:11)
[debug] [W3C (8554cb5f)]     at AndroidUiautomator2Driver.doFindElementOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\find.js:27:36)
[debug] [W3C (8554cb5f)]     at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:36:28)
[debug] [W3C (8554cb5f)]     at condFn (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\commands\timeout.js:151:18)
[debug] [W3C (8554cb5f)]     at spin (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:138:26)
[debug] [W3C (8554cb5f)]     at waitForCondition (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:155:16)
[debug] [W3C (8554cb5f)]     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] [W3C (8554cb5f)]     at AndroidUiautomator2Driver.findElOrEls (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:60:16)
[debug] [W3C (8554cb5f)]     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] [W3C (8554cb5f)]     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] [W3C (8554cb5f)]     at commandExecutor (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:335:9)
[debug] [W3C (8554cb5f)]     at C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:146:12
[debug] [W3C (8554cb5f)]     at AsyncLock._promiseTry (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:280:31)
[debug] [W3C (8554cb5f)]     at exec (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:145:9)
[debug] [W3C (8554cb5f)]     at AsyncLock.acquire (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\async-lock\lib\index.js:162:3)
[debug] [W3C (8554cb5f)]     at AndroidUiautomator2Driver.executeCommand (C:\Users\14221\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:348:39)
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/element 400 4 ms - 2807
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts
[HTTP] {"implicit":30000}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":30000}}
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [W3C (8554cb5f)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/timeouts 200 1 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync
[HTTP] {"script":"mobile:shell","args":[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}]}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.execute() with args: ["mobile:shell",[{"command":"ps","args":["|","grep","com.picc.nx"],"includeStderr":true}],"8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[AndroidDriver] Executing native command 'mobile:shell'
[debug] [AndroidDriver] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ps \| grep com.picc.nx'
[debug] [W3C (8554cb5f)] Responding to client with driver.execute() result: {"stdout":"u0_a316       15467    870 6601488 223784 0                   0 S com.picc.nx\r\n","stderr":""}
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/execute/sync 200 537 ms - 116
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context
[HTTP] {}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [W3C (8554cb5f)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context 200 1 ms - 22
[HTTP] 
[HTTP] --> POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/log
[HTTP] {"type":"logcat"}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.getLog() with args: ["logcat","8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Retrieving 'logcat' logs
[debug] [BaseDriver] Retrieving supported log types
[debug] [W3C (8554cb5f)] 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...
[HTTP] <-- POST /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/log 200 7 ms - 63397
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context
[HTTP] {}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [W3C (8554cb5f)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context 200 1 ms - 22
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context
[HTTP] {}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.getCurrentContext() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [W3C (8554cb5f)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/context 200 1 ms - 22
[HTTP] 
[HTTP] --> GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/screenshot
[HTTP] {}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.getScreenshot() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700/screenshot] with no body
[debug] [WD Proxy] 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] [W3C (8554cb5f)] 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...
[HTTP] <-- GET /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0/screenshot 200 287 ms - 214616
[HTTP] 
[HTTP] --> DELETE /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0
[HTTP] {}
[debug] [W3C (8554cb5f)] Calling AppiumDriver.deleteSession() with args: ["8554cb5f-ffe0-433a-94fc-0e7c337200c0"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1646914439570 (20:13:59 GMT+0800 (中国标准时间))
[Appium] Removing session 8554cb5f-ffe0-433a-94fc-0e7c337200c0 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/ad0a21ee-2ba5-45ed-9525-6e456ee06700] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"ad0a21ee-2ba5-45ed-9525-6e456ee06700","value":null}
[debug] [UiAutomator2] Resetting IME to 'com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell ime set com.iflytek.inputmethod.oppo/.FlyIME'
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef shell am force-stop com.picc.nx'
[debug] [Instrumentation] .

[debug] [Instrumentation] 

[debug] [Instrumentation] Time: 17.254

[debug] [Instrumentation] 

[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200 
[debug] [ADB] Running 'C:\software\SDK\platform-tools\adb.exe -P 5037 -s dc938aef forward --remove tcp:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] 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] [BaseDriver] Event 'quitSessionFinished' logged at 1646914441682 (20:14:01 GMT+0800 (中国标准时间))
[debug] [W3C (8554cb5f)] Received response: null
[debug] [W3C (8554cb5f)] But deleting session, so not returning
[debug] [W3C (8554cb5f)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/8554cb5f-ffe0-433a-94fc-0e7c337200c0 200 2113 ms - 14
[HTTP] 

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.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (5 by maintainers)

Commits related to this issue

Most upvoted 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.