mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
feat: locate ocr text with index
This commit is contained in:
@@ -4,7 +4,7 @@ package uixt
|
||||
|
||||
import "github.com/rs/zerolog/log"
|
||||
|
||||
func (dExt *DriverExt) FindTextByOCR(ocrText string) (x, y, width, height float64, err error) {
|
||||
func (dExt *DriverExt) FindTextByOCR(ocrText string, index ...int) (x, y, width, height float64, err error) {
|
||||
log.Fatal().Msg("OCR is not supported")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user