弃用延时决定截图时机,使用协程检查图像情况

This commit is contained in:
2025-03-22 02:58:25 +08:00
parent e3490fa5b1
commit d8b3c87347
2 changed files with 45 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ func TestGetScreen(t *testing.T) {
Windows 10 ✔
*/
imgBytes, err := getScreen("192.168.250.128:3389")
imgBytes, err := RealGetScreen("127.0.0.1:3389")
if err != nil {
t.Fatal(err)
}