example-recipes
example-recipes copied to clipboard
The XPath example uses `..` as a selector which doesn't work any more
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.