With current implementation getViolations method is noly working with the css selectors and not xpath
for xpath it is throwing error "frame.evaluate: DOMException: Failed to execute 'querySelectorAll' on 'Document': '//button[text()='Submit']' is not a valid selector"
Please refer below screenshot for same:

could you please help us to resolve issue
With current implementation getViolations method is noly working with the css selectors and not xpath

for xpath it is throwing error "frame.evaluate: DOMException: Failed to execute 'querySelectorAll' on 'Document': '//button[text()='Submit']' is not a valid selector"
Please refer below screenshot for same:
could you please help us to resolve issue