diff --git a/src/main/java/com/gargoylesoftware/htmlunit/html/DomNodeUtil.java b/src/main/java/com/gargoylesoftware/htmlunit/html/DomNodeUtil.java index 408499138..81bda717c 100644 --- a/src/main/java/com/gargoylesoftware/htmlunit/html/DomNodeUtil.java +++ b/src/main/java/com/gargoylesoftware/htmlunit/html/DomNodeUtil.java @@ -47,7 +47,7 @@ public class DomNodeUtil { */ public static List selectNodes(final DomNode domNode, final String xpathExpr) { WebClientUtil.waitForJSExec(domNode.getPage().getWebClient()); - return (List) XPathHelper.getByXPath(domNode, xpathExpr, null, true); + return (List) XPathHelper.getByXPath(domNode, xpathExpr, null); } /**