Hi Folks,
Is it possible to pass value to innerText as an argument to define the selector?
Regards.
Hi Folks,
Is it possible to pass value to innerText as an argument to define the selector?
Regards.
innerText is a web element attribute. Any automation tool is supposed to perform UI interaction on web element not change its attribute which defines it… Any ways if you want to do it you can do it via Java Script
Regards,
Amit Anand
Hi Amit,
What I meant was to pass a value to “innerText” while defining a selector. My bad that I confused you. I could only type\hardcode a value and not fetch it from an argument.
Regards.