预置条件:使用 4.3 系统的 android 手机。

xpath 的路径已经在 web 测试是 ok 的,为什么对于 webview 页面不能通过 xpath 获取呢? 通过 id 和 class_name 也都是 ok 的,好疑惑,求大神帮忙看下,不甚感激。

代码片段:
mytest = driver.find_element_by_xpath("//p[@class='aricle-info']/span[1]")

appium log:

info: <-- GET /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/title 200 9.189 ms - 118
info: --> POST /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/element {"using":"xpath","sessionId":"0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4","value":"//p[@class='aricle-info']/span[1]"}
info: [debug] Proxying command to localhost:8080
info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/element,method:POST,json:{using:xpath,sessionId:0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4,value://p[@class='aricle-info']/span[1]}"}
info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"{\"message\":\"Unable to locate an element with the xpath expression \/\/p[@class='aricle-info']\/span[1] because of the following error:\nError: INVALID_EXPRESSION_ERR: DOM XPath Exception 51\"}\nio.selendroid.exceptions.SelendroidException: {\"message\":\"Unable to locate an element with the xpath expression \/\/p[@class='aricle-info']\/span[1] because of the following error:\nError: INVALID_EXPRESSION_ERR: DOM XPath Exception 51\"}\n\tat io.selendroid.server.model.SelendroidWebDriver.executeAtom(SelendroidWebDriver.java:206)\n\tat io.selendroid.server.model.SelendroidWebDriver.executeAtom(SelendroidWebDriver.java:176)\n\tat io.selendroid.server.model.DefaultSelendroidDriver$WebviewSearchScope.lookupElement(DefaultSelendroidDriver.java:428)\n\tat io.selendroid.server.model.internal.AbstractWebElementContext.findElementByXPath(AbstractWebElementContext.java:204)\n\tat io.selendroid.server.model.internal.AbstractWebElementContext.findElement(AbstractWebElementContext.java:147)\n\tat io.selendroid.server.model.By$ByXPath.findElement(By.java:231)\n\tat io.selendroid.server.model.DefaultSelendroidDriver.findElement(DefaultSelendroidDriver.java:116)\n\tat io.selendroid.server.handler.FindElement.safeHandle(FindElement.java:42)\n\tat io.selendroid.server.SafeRequestHandler.handle(SafeRequestHandler.java:83)\n\tat io.selendroid.server.AndroidServlet.handleRequest(AndroidServlet.java:319)\n\tat io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:67)\n\tat io.selendroid.server.http.ServerHandler.channelRead(ServerHandler.java:53)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\n\tat io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:430)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:384)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)\n\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)\n\tat java.lang.Thread.run(Thread.java:841)\n"},"sessionId":"0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4"}
info: <-- POST /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/element 500 460.679 ms - 3802
info: --> GET /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/screenshot {}
info: [debug] Proxying command to localhost:8080
info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/screenshot,method:GET"}
info: [debug] Proxied response received with status 200: "{\"value\":\"iVBORw0KGgoAAAANSUhEUgAAAtAAAAUACAYAAABuzmU9AAAABHNCSVQICAgIfAhkiAAD055JREFU\neJzs3Xd4U+XbB\/Bv0r0XdDEKlL2HCBaQoewlCMgeIktAhuBAAQFBwAH+2IIFGSJtmQKyR0Eoe0MB\nWWW0lBa60pkm7x81sSc5GadNF+\/3c11cN1knJ22T3Oc593M\/AKCWyWRqRkZGRkZGRkZGRkYzYrHY\nCUZGRkZGRkZGRsYSElEcdoKRkZGRkZGRkZGxxMRisROMjIyMjIyMjIyMJSSiOOwEIyMjIyMjIyMj\nY4mJxWInGBkZGRkZGRkZGUtIRHHYCUZGRkZGRkZGRsYSE4vFTjAyMjIyMjIyMjKWkIjisBOMjIyM\njIyMjIyMJSYWi51gZGRkZGRkZGRkLCERxWEnGBkZGRkZGRkZGUtMLBY7wcjIyMjIyMjIyFhCIorD\nTjAyM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nmsGVC3PzdLbG6jGVIP+3u0Z8shJ3o9PxT0w67kSn4c6zdMHzA0BZL1u0rOmKlrVcLTZx0VIKLYEG\nDCfRMhkwpFXekmgXByt0fcMDF+4p8Fl3f+2y23IZ0PstL7Sq5Yrwm8m4+ECBVylKJKVlI0upRrZm\nhPnfaIrs36Od5tVd4GCrXwMtlwFf9LDsijdT1kexjIOIiIgKxPXHqYK5Y3I5UKe8I5rXcEWzas5w\ntrcS3L+avwOq\/dvaLitbjUcvMvA4LgPRCUq8SMxCbFIWEhRKJKVmIzk9G6pc+XCXN9wFvZmPXk\/E\n+uNxgu3b2chRN8ABDSo6oWElZ0nltoWt0Eo4chMr53i\/qWeek+jUDBWS0rKL5OjkeWIWTtxMgkwm\nw\/tNPS267RO3kvAyJRt1AxxR0Tv\/S4oTERERaajUwMIdz+BkL0eDik5oUNHJoqv3pWWqkJapQnqW\nGqVcrAXzyLKy1ZgT9gSezjao6mePqv72qOBtV2LaBRdJAg1YPokmIiIiIioMRdaPTVPO0TxXh4yt\nES\/x27EXRh5FRERERFS0irShsaEkWrcmhoiIiIiouCjyFUF0k2i5TIZK3rZFvFdEREREROIKtQuH\nIZokWi4DmlZxEoxIExEREREVJ0U2iZCIiIiIqCQq8hIOIiIiIqKShAk0EREREZEETKCJiIiIiCRg\nAk1EREREJAETaCIiIiIiCZhAExERERFJwASaiIiIiEgCJtBERERERBIwgSYiIiIikoAJNBERERGR\nBEygiYiIiIgkYAJNRERERCQBE2giIiIiIgmYQBMRERERScAEmoiIiIhIAibQREREREQSMIEmIiIi\nIpKACTQRERERkQRMoImIiIiIJGACTUREREQkARNoIiIiIiIJmEATEREREUnABJqIiIiISAIm0ERE\nREREEjCBJiIiIiKSgAk0EREREZEETKCJiIiIiCRgAk1EREREJAETaCIiIiIiCZhAExERERFJwASa\niIiIiEgCJtBERERERBIwgSYiIiIikoAJNBERERGRBEygiYiIiIgkYAJNRERERCQBE2giIiIiIgmY\nQBMRERERScAEmoiIiIhIAibQREREREQSMIEmIiIiIpKACTQRERERkQRMoImIiIiIJGACTUREREQk\nARNoIiIiIiIJmEATEREREUnABJqIiIiISAIm0EREREREEjCBJiIiIiKSgAk0EREREZEETKCJiIiI\niCRgAk1EREREJAETaCIiIiIiCZhAExERERFJwASaiIiIiEgCJtBERERERBIwgSYiIiIikoAJNBER\nERGRBEygiYiIiIgkYAJNRERERCQBE2giIiIiIgmYQBMRERERScAEmoiIiIhIAibQREREREQSMIEm\nIiIiIpKACTQRERERkQRMoImIiIiIJGACTUREREQkARNoIiIiIiIJmEATEREREUnABJqIiIiISAIm\n0EREREREEjCBJiIiIiKSgAk0EREREZEETKCJiIiIiCRgAk1EREREJIF1Ue8AUV6kpaXh2bNn2svu\n7u7w8vKSvJ3Lly\/D29sb\/v7+Ftu33bt3IyEhAX5+fvD19UVgYCDs7e3NeuyOHTuQmZmJypUro3Ll\nynB1dbXYfhERlUTh4eG4ffs2Bg4cCAcHh6LeHSIAgCw9PV1d1DthzLNnzyya3NDr4ciRI+jUqZP2\n8sSJEzF\/\/nzJ22nWrBkuX76MNm3aYMCAAejZsydsbW3zvF\/nz59Hq1atoFQqAQAVK1bEuXPn4Ozs\nbPKx0dHRqFGjBtLT0wEAQUFBOHLkSJ73hYjoddCqVStERESgVKlSGDVqFEaNGgVvb+9Ce\/7x48fD\n29sbQUFBaNKkiVmf5xqBgYHaz3Qg52AgMDDQYvsWHByML7\/8Unv5p59+woABAyy2\/cKQlpaGrVu3\nIjs7G0OGDCnq3TFbsRyBvn\/\/PrZs2YKQkBDcv38fV69eRUBAQIE8V1xcHN5+++0C2XZiYiLi4+MF\n150+fRoNGjQokOcrTtLT06FQKJCSkoKEhAQkJiZq46tXr7SXO3bsiHfffdfgdlJTU+Ho6Cj5+V++\nfInr16+jRYsWkMlkove5efMmLly4AAA4ePAgLl68iPfee0\/yc+Xe12HDhmmTZysrKwQHB5v9Ybtg\nwQLBB+306dPzvC\/0esnIyEBYWBj27duHCxcuIC4uDmlpaXBzc0NgYCCGDRuGoUOHFvVuElnc0aNH\nERERASDn+3ru3LkoV65cof29X7t2DatXr9ZednJywqNHj7Sf6+np6bhz5w7q1q0r+vi4uDhkZGRo\nL2u+H6SaO3eu9ucAAOvXr4eHhwcyMjKQmJiovT4zMzNP29elVqsRHx+PBw8e4P79+9p\/48ePN\/ha\npVIoFPjqq6+wefNmJCYmwsXFBV26dMnT2eSiUCwT6FGjRuHEiRPay7Nnz8avv\/5aIM+lVCpx\/\/79\nAtm2GHd390J7LlP27NmDixcvQqVSQa1Wi8asrCxkZmYiIyND8P\/MzEzt\/1NSUqBQKJCamgqFQgGF\nQgGVSmXWPqSmphpMoLdu3YrJkydjxowZGD58uKTXtnz5cnz77bcoX748+vbti8GDB6Ny5cqC+2zY\nsEFwefDgwWaXWuhSq9Vo37497t69q73OyckJly9fxuXLlw0+ztraGiNGjMClS5ewcuVKwW2RkZGI\njIw0ex9GjhwJKysr6TtPxVp4eDiGDx+Ox
info: <-- GET /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/screenshot 200 1697.485 ms - 349190
info: --> POST /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/elements {"using":"class name","sessionId":"0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4","value":"android.widget.TextView"}
info: [debug] Proxying command to localhost:8080
info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/elements,method:POST,json:{using:class" name","sessionId":"0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4","value":"android.widget.TextView"}}
info: [debug] Proxied response received with status 200: {"value":[],"status":0,"sessionId":"0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4"}
info: <-- POST /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4/elements 200 5187.780 ms - 74
info: --> DELETE /wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4 {}
info: Shutting down appium session
info: [debug] Stopping selendroid server
info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/0f2e01e4-f938-6f7f-ae72-8b9eeebdc6a4,method:DELETE"}


↙↙↙阅读原文可查看相关链接,并与作者交流