mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
fix: regex match text for app install
This commit is contained in:
@@ -1 +1 @@
|
|||||||
v5.0.0-beta-2410232102
|
v5.0.0-beta-2410241939
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ func (dExt *DriverExt) Install(filePath string, options ...InstallOption) error
|
|||||||
_ = dExt.Driver.TapByTexts(actions...)
|
_ = dExt.Driver.TapByTexts(actions...)
|
||||||
|
|
||||||
_ = dExt.TapByOCR(
|
_ = dExt.TapByOCR(
|
||||||
"^(.*无视风险安装|确定|继续|完成|点击继续安装|继续安装旧版本|替换|安装|授权本次安装|继续安装|重新安装)$",
|
"^.*(无视风险安装|确定|继续|完成|点击继续安装|继续安装旧版本|替换|授权本次安装|现在安装|继续安装|重新安装|安装)$",
|
||||||
WithRegex(true), WithIgnoreNotFoundError(true),
|
WithRegex(true), WithIgnoreNotFoundError(true),
|
||||||
)
|
)
|
||||||
case <-stopChan:
|
case <-stopChan:
|
||||||
|
|||||||
Reference in New Issue
Block a user