refactor: move uixt from hrp internal to pkg

This commit is contained in:
debugtalk
2022-10-10 22:12:36 +08:00
parent 1cc2d0d27f
commit 63e18ddeba
44 changed files with 54 additions and 21 deletions
+23
View File
@@ -0,0 +1,23 @@
//go:build !opencv
package uixt
import (
"image"
"github.com/rs/zerolog/log"
)
func Extend(driver WebDriver, options ...CVOption) (dExt *DriverExt, err error) {
return extend(driver)
}
func (dExt *DriverExt) FindAllImageRect(search string) (rects []image.Rectangle, err error) {
log.Fatal().Msg("opencv is not supported")
return
}
func (dExt *DriverExt) FindImageRectInUIKit(imagePath string, index ...int) (x, y, width, height float64, err error) {
log.Fatal().Msg("opencv is not supported")
return
}