Skip to content

Commit 9fde451

Browse files
committed
Update ShadowDomService.java
1 parent a6d13a9 commit 9fde451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bellatrix.web/src/main/java/solutions/bellatrix/web/components/shadowdom/ShadowDomService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function getAbsoluteCss(xpath) {
320320
}
321321
322322
let elements;
323-
if (locator.startsWith("/") || locator.startsWith("./") || strategy.startsWith("(")) {
323+
if (locator.startsWith("/") || locator.startsWith("./") || locator.startsWith("(")) {
324324
let result = document.evaluate(locator, startPoint, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null);
325325
elements = [];
326326
let node;

0 commit comments

Comments
 (0)