evalXPath
Returns an array of the objects defined by the XPath in the argument.
evalXPath(xpath);
Arguments
xpath. (string) The xpath query.
Return value
A promise that will be fulfilled with no arguments.
Example
evalXPath("//a[text()=\" Books \"]");