Hey! I had the same issue with xpath following sibling. Turns out, sometimes the sibling isn’t *immediately* next in the DOM. Try adding a positional index like `[1]` to narrow it down:
`//div[@class='item']/following-sibling::div[1]`
If that doesn’t work, maybe the sibling isn’t a `div`? Could be a `span` or something else. Check the HTML structure first!
Also, Chrome DevTools’ "Copy XPath" feature is a lifesaver for debugging.
`//div[@class='item']/following-sibling::div[1]`
If that doesn’t work, maybe the sibling isn’t a `div`? Could be a `span` or something else. Check the HTML structure first!
Also, Chrome DevTools’ "Copy XPath" feature is a lifesaver for debugging.
