add popup close_status=found

This commit is contained in:
buyuxiang
2023-08-29 17:29:08 +08:00
parent 67088469c5
commit 20b2fa51af
4 changed files with 28 additions and 3 deletions

View File

@@ -2,10 +2,13 @@ package uixt
import (
"bytes"
"math"
"strings"
"time"
"github.com/httprunner/funplugin"
"github.com/httprunner/httprunner/v4/hrp/internal/builtin"
)
var (
@@ -434,6 +437,11 @@ type PointF struct {
Y float64 `json:"y"`
}
func (p PointF) IsIdentical(p2 PointF) bool {
return builtin.IsZeroFloat64(math.Abs(p.X-p2.X)) &&
builtin.IsZeroFloat64(math.Abs(p.Y-p2.Y))
}
type Rect struct {
Point
Size