i am learning xpath, and i am trying to get some data from html usint xpath
i found that google chrome has a option to "copy xpath" and it works nice
but doesnt work to this exemple
<div id="site-main">
<header class="main" role="banner">some divs </header>
</div>
i use this on google chrome console
$x("//*[@id="site-main"]/header")
and return "SyntaxError: Unexpected identifier" i dont see anythin wrong...do you?