mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-24 01:40:02 +08:00
change: remove unused tap methods
This commit is contained in:
@@ -93,7 +93,7 @@ func watchVideo(driver *uixt.XTDriver) (err error) {
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
// 切换横屏
|
||||
err = driver.TapByUIDetection(
|
||||
err = driver.TapByCV(
|
||||
option.WithScreenShotUITypes("fullScreen"))
|
||||
if err != nil {
|
||||
// 未找到横屏图标,该页面可能不是横版视频(直播|广告|Feed)
|
||||
|
||||
@@ -95,7 +95,7 @@ func watchVideo(driver *uixt.XTDriver) (err error) {
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
// 切换横屏
|
||||
err = driver.TapByUIDetection(
|
||||
err = driver.TapByCV(
|
||||
option.WithScreenShotUITypes("fullScreen"))
|
||||
if err != nil {
|
||||
// 未找到横屏图标,该页面可能不是横版视频(直播|广告|Feed)
|
||||
|
||||
Reference in New Issue
Block a user