0

I am trying to develop an android automation project. So i wanted to get position of some text in android phone screen.

My phone screen. I trying to get position of the search box dynamically to click on the box using adb shell. Can i find the coordinates of the text "Search or type web address"? How can i do it?

I already tried tesseract.js . That is returning the extracted text only

sorry for bad English

Adhil mhdk
  • 89
  • 2
  • 9
  • Have you seen https://stackoverflow.com/questions/51282214/tesseract-ocr-text-position – Robert Apr 03 '22 at 12:02
  • You don't need image recognition for those cases. Try [AndroidViewClient/culebra](https://github.com/dtmilano/AndroidViewClient) and you can click by text or other attributes. – Diego Torres Milano Apr 04 '22 at 04:23

0 Answers0