change: remove unused tap methods

This commit is contained in:
lilong.129
2025-02-11 17:49:24 +08:00
parent 30c0bd7488
commit 792d3ae9bc
10 changed files with 17 additions and 127 deletions

View File

@@ -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

View File

@@ -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