Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getViolations method is not working with xpath selectors #203

Open
nikhilwaichal opened this issue Jan 16, 2023 · 1 comment
Open

getViolations method is not working with xpath selectors #203

nikhilwaichal opened this issue Jan 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@nikhilwaichal
Copy link

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:
image

could you please help us to resolve issue

@abhinaba-ghosh abhinaba-ghosh added the bug Something isn't working label Aug 22, 2023
@unlikelyzero
Copy link

unlikelyzero commented Dec 13, 2023

@nikhilwaichal you should not be using xpath selectors with playwright. Especially for something as simple as a submit button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants