I am looking for protractor plugin, which parses HTML page looking for a particular string and gives me element selector?
For example, parse html files, search for occurrences of a particular string and then generate the element & xpath expressions that locate the string within the html file. Is there a node module which can automate this? or help me achieve this?
I want to use this in my protractor tests.
Thanks in advance.