Hi! the code is searching infinity for an element that is not found and he’s not failing the test,
I’d like to know I can limit the time of searching elements
[debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError
[debug] [AndroidUiautomator2Driver@d3d6 (bca1e98a)] Waited for 27148 ms so far
[debug] [ADB] Checking app cert for C:\Users\wmejri\eclipse-workspace\cheqcorner_Appium_Tests\src\test\ressources\rc13.apk
[debug] [AndroidUiautomator2Driver@d3d6 (bca1e98a)] Matched '/element' to command name 'findElement'
[debug] [AndroidUiautomator2Driver@d3d6 (bca1e98a)] Proxying [POST /element] to [POST http://127.0.0.1:8202/session/ec04f843-7d07-4423-af34-b95de23294c9/element] with body: {"strategy":"id","selector":"fr.tessi.cheqcorner:id/deposit_stop_btn","context":"","multiple":false}
[AndroidUiautomator2Driver@d3d6 (bca1e98a)] Got response with status 404: {"sessionId":"ec04f843-7d07-4423-af34-b95de23294c9","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:270)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:264)\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...`Preformatted text`