test: parseStepStruct

This commit is contained in:
lilong.129
2024-08-21 13:30:11 +08:00
parent 6b409ce649
commit 88c1d62a76
3 changed files with 57 additions and 5 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ func (s *StepMobile) Sleep(n float64) *StepMobile {
// SleepRandom specify random sleeping seconds after last action
// params have two different kinds:
// 1. [min, max] : min and max are float64 time range boudaries
// 1. [min, max] : min and max are float64 time range boundaries
// 2. [min1, max1, weight1, min2, max2, weight2, ...] : weight is the probability of the time range
func (s *StepMobile) SleepRandom(params ...float64) *StepMobile {
s.obj().Actions = append(s.obj().Actions, uixt.MobileAction{