fix: unittests

This commit is contained in:
lilong.129
2025-03-05 18:10:41 +08:00
parent e187ba824a
commit a80c8af3f6
9 changed files with 58 additions and 151 deletions

View File

@@ -103,7 +103,9 @@ func (s *StepMobile) Home() *StepMobile {
return s
}
// TapXY taps the point {X,Y}, X & Y is percentage of coordinates
// TapXY taps the point {X,Y}
// if X<1 & Y<1, {X,Y} will be considered as percentage
// else, X & Y will be considered as absolute coordinates
func (s *StepMobile) TapXY(x, y float64, opts ...option.ActionOption) *StepMobile {
action := uixt.MobileAction{
Method: uixt.ACTION_TapXY,