mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 00:09:37 +08:00
add popup close_status=found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user