[HTTP] --> POST /wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform
[HTTP] {"actions":[{"action":"press","options":{"x":0,"y":755}},{"action":"moveTo","options":{"x":0,"y":50}},{"action":"release","options":{}}]}
[AndroidUiautomator2Driver@c0a4 (30ea7661)] Command 'performTouch' has been deprecated and will be removed in a future version of Appium or your driver/plugin. Please use a different method or contact the driver/plugin author to add explicit support for the command before it is removed
[AndroidUiautomator2Driver@c0a4 (30ea7661)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@c0a4 (30ea7661)] Matched '/wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform' to command name 'performTouch'
[AndroidUiautomator2Driver@c0a4 (30ea7661)] Proxying [POST /wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform] to [POST http://127.0.0.1:8200/session/bee258ad-6bbe-4b77-9413-236b6fb3172e/touch/perform] with body: {"actions":[{"action":"press","options":{"x":0,"y":755}},{"action":"moveTo","options":{"x":0,"y":50}},{"action":"release","options":{}}]}
[AndroidUiautomator2Driver@c0a4 (30ea7661)] Got response with status 404: {"sessionId":null,"value":{"error":"unknown command","message":"The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource","stacktrace":"io.appium.uiautomator2.common.exceptions.UnknownCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:84)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandler...
Как решить эту проблему?
Я пытался запустить это без /wd/hub, но все равно сталкиваюсь с той же проблемой(
И я попытался понизить версию Appium до 2.2.2 и UIautomator до 2.43.4, и снова тот же результат, но без сообщения об устаревании(
У меня возникла проблема с прокруткой в тестах Android с помощью Appium и UiAutomator Appium v2.5.1 uiautomator2@3.0.1 Журнал: [code][HTTP] --> POST /wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform [HTTP] {"actions":[{"action":"press","options":{"x":0,"y":755}},{"action":"moveTo","options":{"x":0,"y":50}},{"action":"release","options":{}}]} [AndroidUiautomator2Driver@c0a4 (30ea7661)] Command 'performTouch' has been deprecated and will be removed in a future version of Appium or your driver/plugin. Please use a different method or contact the driver/plugin author to add explicit support for the command before it is removed [AndroidUiautomator2Driver@c0a4 (30ea7661)] Driver proxy active, passing request on via HTTP proxy [AndroidUiautomator2Driver@c0a4 (30ea7661)] Matched '/wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform' to command name 'performTouch' [AndroidUiautomator2Driver@c0a4 (30ea7661)] Proxying [POST /wd/hub/session/30ea7661-385b-4642-a3c3-b64346a5fe84/touch/perform] to [POST http://127.0.0.1:8200/session/bee258ad-6bbe-4b77-9413-236b6fb3172e/touch/perform] with body: {"actions":[{"action":"press","options":{"x":0,"y":755}},{"action":"moveTo","options":{"x":0,"y":50}},{"action":"release","options":{}}]} [AndroidUiautomator2Driver@c0a4 (30ea7661)] Got response with status 404: {"sessionId":null,"value":{"error":"unknown command","message":"The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource","stacktrace":"io.appium.uiautomator2.common.exceptions.UnknownCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:84)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandler... [/code] Как решить эту проблему? Я пытался запустить это без /wd/hub, но все равно сталкиваюсь с той же проблемой( И я попытался понизить версию Appium до 2.2.2 и UIautomator до 2.43.4, и снова тот же результат, но без сообщения об устаревании(
Наши разработчики используют новейший стандарт для разработки приложений для Android и используют библиотеку Jet Pack Compose Library.
Здесь вы не можете установить типичный идентификатор ресурса в качестве лучшей стратегии поиска (...
В настоящее время я пытаюсь улучшить нашу инфраструктуру автоматизации тестирования путем распараллеливания наших тестов. Я знаю, как это сделать, но у меня возникает вопрос об управлении устройствами. Представьте, что у меня есть 5 разных устройств...
В настоящее время я пытаюсь улучшить нашу инфраструктуру автоматизации тестирования путем распараллеливания наших тестов. Я знаю, как это сделать, но у меня возникает вопрос об управлении устройствами. Представьте, что у меня есть 5 разных устройств...