问题描述:创建UI自动化用例,执行报错
截图:


相关日志:
异常信息: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'DESKTOP-FKMSHQU', ip: '172.25.78.11', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, databaseEnabled: false, desired: {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, newCommandTimeout: 7200, noReset: true, platformName: android, recreateChromeDriverSessions: true, skipLogcatCapture: true, systemPort: 59146, udid: 172.25.78.24:49110, uiautomator2ServerInstallTimeout: 600000}, deviceApiLevel: 23, deviceManufacturer: Freescale, deviceModel: SABRESD-MX6DQ, deviceName: 172.25.78.24:49110, deviceScreenDensity: 160, deviceScreenSize: 1024x600, deviceUDID: 172.25.78.24:49110, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 7200, noReset: true, pixelRatio: 1, platform: LINUX, platformName: ANDROID, platformVersion: 6.0.1, recreateChromeDriverSessions: true, skipLogcatCapture: true, statBarHeight: 40, systemPort: 59146, takesScreenshot: true, udid: 172.25.78.24:49110, uiautomator2ServerInstallTimeout: 600000, viewportRect: {height: 520, left: 0, top: 40, width: 1024}, warnings: {}, webStorageEnabled: false}
Session ID: 31d05da6-4203-4e4b-9fc4-a39051155424
*** Element info: {Using=xpath, value=1-1}