Share this page

# 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

Copy code

    evalXPath("//a[text()=\" Books \"]");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: