XPath tester and CSS selector tester

Test selectors before your agent clicks

Paste HTML, try a CSS selector or XPath expression, and see exactly what matches. Useful when building stable browser automation steps for coding agents.

Need selectors from a live page?

DevSnoop can inspect Chrome and return selectors, element summaries, screenshots, logs, and DOM diffs directly to your coding agent.

Install DevSnoop

1 matches

Unique match. Good candidate for agent-driven browser actions.

Matched elements

#1button .primary

body > main > section.toolbar > button.primary

Save changes

Avoid brittle clicks

See when a selector matches too broadly before using it in automation.

Compare CSS and XPath

Test both styles against the same markup without switching tools.

Graduate to live pages

DevSnoop's `find` and `inspect_element` commands do this against the real Chrome tab.