GithubHelp home page GithubHelp logo

appium-jetpack-compose's People

Contributors

rajdeepv avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

appium-jetpack-compose's Issues

Appium Server gets stuck on 404 No Such Element with Espresso Driver

I'm facing an issue when the element I look for is not present on screen. In that scenario, WD Proxy gets a 404 response and it gets stuck. The test client never receives the HTTP response, and the automation session never ends:

[HTTP] --> POST /session/3b607334-52e8-4dc9-9b06-79ded281d545/element
[HTTP] {"using":"xpath","value":"//*[@text='kkk']"}
[W3C (3b607334)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/3b607334-52e8-4dc9-9b06-79ded281d545/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /session/3b607334-52e8-4dc9-9b06-79ded281d545/element] to [POST http://127.0.0.1:8300/session/a8785fde-283f-4bc4-b5fc-cf6cedbf1f4c/element] with body: {"using":"xpath","value":"//*[@text='kkk']"}
[WD Proxy] Got response with status 404: {"id":"3743e97d-a7d2-4f09-a776-f15eef7d8868","sessionId":"a8785fde-283f-4bc4-b5fc-cf6cedbf1f4c","value":{"error":"no such element","message":"Could not find espresso element with strategy XPATH and selector //*[@text='kkk']","stacktrace":"io.appium.espressoserver.lib.handlers.exceptions.NoSuchElementException: Could not find espresso element with strategy XPATH and selector //*[@text='kkk']\n\tat io.appium.espressoserver.lib.handlers.FindElement.handleEspresso(FindElement.kt:39)\n\tat io.appium.espressoserver.lib.handlers.FindElement.handleEspresso(FindElement.kt:27)\n\tat io.appium.espressoserver.lib.handlers.RequestHandler$DefaultImpls.invokeStrategy(RequestHandler.kt:35)\n\tat io.appium.espressoserver.lib.handlers.FindElement.invokeStrategy(FindElement.kt:27)\n\tat io.appium.espressoserver.lib.handlers.FindElement.invokeStrategy(FindElement.kt:27)\n\tat io.appium.espressoserver.lib.handlers.RequestHandler$DefaultImpls.handleInternal(RequestHandler.kt:29)\n\tat io.appium.espressoserver.lib.handlers.FindE...

This is happening when automating the compose_playground.apk you provided, and with the same capabilities used in this repo. I'm using Appium Server v2.0.0-beta.25, [email protected] and Appium-Python-Client 2.1.2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.