Closed i-am-ijaz closed 11 months ago
Sorry this is actually not a bug.
You can use Selector.combine
instead of .chain
.
Combine is for selecting child elements (e.g. div #main
-> a element with the id 'main' that is a child of a div)
Chain is for having multiple selectors for a single element (e.g. div#main
-> a div with the id 'main')
This is totally on me since the code is not documented anywhere. This is on the long list of todos :) Also I guess the naming could make more sense the way around, maybe I change this.
Description
Selector.chain not producing the desired output
Steps To Reproduce
Expected Behavior
There must be a space between the chain of selectors otherwise it would not work