How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Accessing pseudo-elements in Playwright

calendar_today December 5, 2022 person domain reflect

Pseudo-elements are one of the stranger constructs supported in the HTML and CSS specs. Pseudo-elements don’t just modify the styling of an existing element, but can also add content to the page. But unlike a normal element, pseudo-elements are not considered a distinct node within the Document Object Model (DOM) and thus cannot be accessed through the querySelector

open_in_new Read original post