How to use ::after or ::before

please help me, i want to use "::before" and "::after"
i tried but failed.

div.transcript:nth-of-type(2) button.active::before[content: "sdfsd"]

Thanks in advance

@Jabeer Hi, the use of such pseudo-elements within Web Scraper, currently, is not available.

1 Like

If you just need to match a button that has a certain text, you can just use :contains e.g.:

button:contains('Order')

To match a reverse condition:

button:not(":contains('Unavailable')")