appium-flutter-driver icon indicating copy to clipboard operation
appium-flutter-driver copied to clipboard

Sometime Appium not working in about 30s

Open thuonglai opened this issue 2 years ago • 0 comments

I sometime has error strange. Example First i wait for button has text "Next Dropoff" = > it return true After this,I call command tap on the Element has Text is Next Dropoff. But nothing happen and the appium log is quite in 30s. This is appium log. And i run it on saucelab

2023-11-22 13:02:13.885 V [HTTP] [HTTP] {"script":"flutter:waitFor","args":[{"ELEMENT":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9","element-6066-11e4-a52e-4f735466cecf":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9"},60000]}
2023-11-22 13:02:13.885 V [debug] [FlutterDriver@cf45 (06482870)] [FlutterDriver@cf45 (06482870)] Calling AppiumDriver.execute() with args: ["flutter:waitFor",[{"ELEMENT":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9","element-6066-11e4-a52e-4f735466cecf":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9"},60000],"06482870-f8ca-4047-badd-fe9fbcf5b432"]
2023-11-22 13:02:13.885 V [debug] [FlutterDriver] [FlutterDriver] Executing Flutter driver command 'execute'
2023-11-22 13:02:13.885 V [debug] [FlutterDriver] [FlutterDriver] >>> {"command":"waitFor","finderType":"ByText","text":"Next Dropoff","timeout":60000}
2023-11-22 13:02:14.150 V [debug] [FlutterDriver] [FlutterDriver] <<< {"isError":false,"response":{},"type":"_extensionType","method":"ext.flutter.driver"} | previous command waitFor
2023-11-22 13:02:14.150 V [debug] [FlutterDriver@cf45 (06482870)] [FlutterDriver@cf45 (06482870)] Responding to client with driver.execute() result: {"element-6066-11e4-a52e-4f735466cecf":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9","ELEMENT":"eyJmaW5kZXJUeXBlIjoiQnlUZXh0IiwidGV4dCI6Ik5leHQgRHJvcG9mZiJ9"}
2023-11-22 13:02:14.151 V [HTTP] [HTTP] <-- POST /wd/hub/session/06482870-f8ca-4047-badd-fe9fbcf5b432/execute/sync 200 266 ms - 185
2023-11-22 13:02:14.151 V [HTTP] [HTTP]
2023-11-22 13:02:44.343 V [HTTP] [HTTP] --> GET /wd/hub/session/06482870-f8ca-4047-badd-fe9fbcf5b432/screenshot
2023-11-22 13:02:44.343 V [HTTP] [HTTP] {}
2023-11-22 13:02:44.344 V [debug] [FlutterDriver@cf45 (06482870)] [FlutterDriver@cf45 (06482870)] Calling AppiumDriver.getScreenshot() with args: ["06482870-f8ca-4047-badd-fe9fbcf5b432"]
2023-11-22 13:02:44.344 V [debug] [FlutterDriver] [FlutterDriver] Executing Flutter driver command 'getScreenshot'
2023-11-22 13:02:44.636 V [debug] [FlutterDriver@cf45 (06482870)] [FlutterDriver@cf45 (06482870)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAimCAYAAAAM3HHIAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7L3XdiTJlbX5HTNz91AQKSozS5Gsoupusv/u6TUXs+ZqnmNmrXnTeYNR/3STbDaLZOmsSgkgtLuZnbkwDwmHCCAARGZh16oE4BGuTW7bZx/53/7X/13ZEqIqVkpEK4QARKaqHEeIGvHREzUC1zvlk/ZjWq5AEACq6OlXQ/plf6PjHBQH9LIO01DSLwdMw/Ra17VLcOLYz3t0yufY/p+BCL3PoHh2+sv9/4TRd4zsPsftX1C6/cZjdrMu+1kPr4Gj6QnHkxP+/OrvlKFiv+jy60e/oJN31vZSoioxBiJx6/d5HRgMTzuPETG8mR4z8RM2KZu5yXnQOqRl8/m2KnjeTo8Yh8kNXPF24UPkxeA1zwcvedJ9yId7T8mdI2rYyvHbrs1+vrfyfM6CanruIrLxeaJGylgx8VPGfkIZy3O/3zVt9t3exue5DYgRsixb2ea9J4bdqjtXgQDGKNZEsO3TX1CPxoqoBivv/v1GzKI5qcu3IgS15+yloIqIkOVr5SDEVA70/GdjrcW6xTkU8D6gYbVe2+nX2OEfIAbY/y0UT5oPWL6G/l/Aj+HgnyjzX0NdT52NGDFgHIhZuQ3iBB+EqJvX6YsgIlhnMWb1nL6ajTF2B6qa/j+nbzFizmz7YoxMvQcgdw67fM8AkkZCYmQ+Jpq9HyTVO5H6s229ipVbCasblj8TQFzzAWKVyrJprV6XBjRGQlTiXb5KMWSZXXkvMSq+8lx3DHvd67I2/X8mFE
IIhKU6P/XCy5El6Op+RpS2C+zlkaLhVU099EvDxFvCNetybjxdV5HZdF1RoYqWkc+p4nnt4j1uCgfxbzyo/p0sHoHJoPgAur+A7PD0l8MIxj/A+Duo+kTJ6buf8TL7n9GtNS73+CnACFgBZyCzUDilcJCd06xtiqaeZyNUEYYlTIOynw3Y...
2023-11-22 13:02:44.639 V [HTTP] [HTTP] <-- GET /wd/hub/session/06482870-f8ca-4047-badd-fe9fbcf5b432/screenshot 200 296 ms - 375448
2023-11-22 13:02:44.639 V [HTTP] [HTTP]

thuonglai avatar Nov 23 '23 07:11 thuonglai