添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

xpath string: //android.support.v7.app.ActionBar$Tab [1]
xpath is correct in appium 1.5.0

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: xPathString=//android.support.v7.app.ActionBar$Tab[1]
at io.appium.uiautomator2.model.XPathFinder.(XPathFinder.java:82)
at io.appium.uiautomator2.model.XPathFinder.getNodesList(XPathFinder.java:119)
at io.appium.uiautomator2.handler.FindElement.getXPathUiObject(FindElement.java:77)
at io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:152)
at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:101)
at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:54)
at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:198)
at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:189)
at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)