mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 05:47:37 +08:00
24 lines
515 B
Go
24 lines
515 B
Go
//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
|
|
}
|