mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-29 09:47:05 +08:00
fix: convert abs scope for FindScreenText
This commit is contained in:
@@ -119,7 +119,7 @@ func TestDriverExt_Seek(t *testing.T) {
|
||||
|
||||
func TestDriverExt_TapByOCR(t *testing.T) {
|
||||
driver := setupDriverExt(t)
|
||||
err := driver.TapByOCR("天气")
|
||||
err := driver.TapByOCR("天气", option.WithScope(0, 0.7, 0.3, 1))
|
||||
assert.Nil(t, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user