fcavallarin / htcap

htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
GNU General Public License v2.0
610 stars 114 forks source link

Make possible to action on HTML elements without ID #75

Closed blackthorne closed 4 years ago

blackthorne commented 4 years ago

I was trying to put together a sequence that involves a clickToNativate action but the button I am trying to push does not have an ID that I could pick. I do not know if there is any way around it given its specification. If there is, I would be thankful if you kindly share what that is, otherwise would you consider adding e.g. XPATH support to define elements?

Thank you

fcavallarin commented 4 years ago

XPath support added! now if the selector starts with the '$' char, it will be treated as xpath