get-set-fetch / extension

web scraping extension
MIT License
74 stars 6 forks source link

:has not supported? #76

Closed fencer closed 3 years ago

fencer commented 3 years ago

When using the selector li:has(> span.current) ~ li:first() a the browser extension is crashing. get-set-fetch.logs.csv

a1sabau commented 3 years ago

Running in browser console document.querySelectorAll('li:has(> span.current) ~ li:first()') returns 'not a valid selector error'. So it doesn't work in browser either.

According to mozilla :has page, no browser supports :has at the moment. Removing the :has selector, there's still an error on :first(), you probably want :first-child.

Closing it due to no browser support for :has.