Files
httprunner/hrp/pkg/uixt/ocr_off.go

18 lines
381 B
Go

//go:build !ocr
package uixt
import (
"github.com/rs/zerolog/log"
)
func (dExt *DriverExt) FindTextByOCR(ocrText string, index ...int) (x, y, width, height float64, err error) {
log.Fatal().Msg("OCR is not supported")
return
}
func (dExt *DriverExt) FindTextsByOCR(ocrTexts []string) (ps map[string][]float64, err error) {
log.Fatal().Msg("OCR is not supported")
return
}