Open SimonRazor opened 1 day ago
Thanks for reporting!
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
latest
Node.js Version
20.11.1
Mode
WDIO Testrunner
Which capabilities are you using?
What happened?
In v9 when trying to traverse the DOM using chained element and Xpath expressions it can't find the element. Changing back to v8 works as expected.
Error: Can't call $ on element with selector ".." because element wasn't found Error: Can't call $ on element with selector ".." because element wasn't found at implicitWait (C:\Users\Test\Projects\Test\node_modules\webdriverio\build\index.js:49:13) at async Element.elementErrorHandlerCallbackFn (C:\Users\Test\Projects\Test\node_modules\webdriverio\build\index.js:6674:23) at async Element.wrapCommandFn (C:\Users\Test\Projects\Test\node_modules\@wdio\utils\build\index.js:1368:23) at async Element.wrapCommandFn (C:\Users\Test\Projects\Test\node_modules\@wdio\utils\build\index.js:1368:23) at async Context. (C:\Users\Test\Projects\Test\test\specs\test.spec.ts:4:28)
at async Context.executeAsync (C:\Users\Test\Projects\Test\node_modules\@wdio\utils\build\index.js:1488:20)
at async Context.testFrameworkFnWrapper (C:\Users\Test\Projects\Test\node_modules\@wdio\utils\build\index.js:1559:14)
What is your expected behavior?
No response
How to reproduce the bug.
Relevant log output