feat: support new action: close_popups

This commit is contained in:
buyuxiang
2023-08-25 23:40:07 +08:00
parent 667bdb5b0c
commit c6507447e2
7 changed files with 116 additions and 13 deletions

View File

@@ -6,6 +6,8 @@ import (
"time"
"github.com/httprunner/funplugin"
"github.com/httprunner/httprunner/v4/hrp/internal/builtin"
)
var (
@@ -434,6 +436,10 @@ type PointF struct {
Y float64 `json:"y"`
}
func (p PointF) IsOriginal() bool {
return builtin.IsZeroFloat64(p.X) && builtin.IsZeroFloat64(p.Y)
}
type Rect struct {
Point
Size