I’m using Selenium to browse sites and locate text overlaid in html on an image. But I have problems, how can I correctly identify the superimposed text on a web page in a unique way, without taking icons, logos etc. into consideration?
I use Selenium with ChromeDriver, visit the website.
filters images to remove logos or icons, searches for overlapping text and collects image-text pairs.
The problem is that it doesn’t correctly identify all the css attributes to locate the overlapping text.
Christelle Kpairi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.