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 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: