Commit 2ff912e
committed
fix: add missing return statement for XPath in findElements
- Fixed findElements to return matcher.$x(locator.value) for newer Puppeteer versions
- This was causing 'Cannot read properties of undefined (reading length)' errors1 parent c0646ea commit 2ff912e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2871 | 2871 | | |
2872 | 2872 | | |
2873 | 2873 | | |
| 2874 | + | |
| 2875 | + | |
2874 | 2876 | | |
2875 | 2877 | | |
2876 | 2878 | | |
| |||
0 commit comments