#id
//*[@id="id"]
element1>element2
element1/element2
.class
//*[contains(@class, "class")]
not supported
//*[@key="input" and @value=123]
//*[@x=123 or @y=234]
.container .element>.header
//*[contains(@class, "container")]//*[contains(@class, "element")]/*[contains(@class, "header")]
not supported
//table/tr[td[1][.="text"] or td[2][.="other text"]]
//*[title="50"]/..
element[attr]
element:not[attr]
//element[boolean(@attr)]
//element[not(boolean(@attr))]