example-recipes icon indicating copy to clipboard operation
example-recipes copied to clipboard

The XPath example uses `..` as a selector which doesn't work any more

Open aboyton opened this issue 1 year ago • 1 comments

It seems with Webdriver v9 you cannot use .. as a selector any more https://github.com/webdriverio/webdriverio/issues/13652

The documentation https://webdriver.io/docs/selectors/#xpath still references .. as it appears to point to https://github.com/webdriverio/example-recipes/blob/e8b147e88e7a38351b0918b4f7efbd9ae292201d/selectors/example.js#L78-L79

This appears to have been commented out as part of #451

#502 fixes the code to use .parentElement, but this might be deserving of it's own section.

aboyton avatar Oct 25 '24 03:10 aboyton