This is relatively rare, but still a bug. Root cause: Reversing the relation expects exact match - instead of looking only at the prefix.
Example:
div.immediatelyAfterSibling(span).or(input.after(label));
Expected: "[(self::div[preceding-sibling::[1]/self::span]) | (self::input[preceding::label])]"
but: was "*[(self::div[null::span]) | (self::input[preceding::label])]"
This is relatively rare, but still a bug. Root cause: Reversing the relation expects exact match - instead of looking only at the prefix. Example: div.immediatelyAfterSibling(span).or(input.after(label));
Expected: "[(self::div[preceding-sibling::[1]/self::span]) | (self::input[preceding::label])]" but: was "*[(self::div[null::span]) | (self::input[preceding::label])]"