You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@xabbuh Thanks for pointing this out! I didn't find it.
For the mean time (until it's merged): I just realised that the Crawler allows you to get a node's parent with ->ancestors()->first(). So at least for the case that I provided as an example, it is a workaround to select the child with the CSS selector and then get the parent with the craweler.
Description
The
has
CSS selecter selects the parent of an element that complies to a certain CSS selector. This would be incredibly useful for tests.https://developer.mozilla.org/en-US/docs/Web/CSS/:has
Example
The text was updated successfully, but these errors were encountered: