I have a div that only contains data attribute, I want to select it from console with javascript
<div data-contents="true">
I tried document.querySelectorAll('div > data-contents="true"')
Doesn't work
I have a div that only contains data attribute, I want to select it from console with javascript
<div data-contents="true">
I tried document.querySelectorAll('div > data-contents="true"')
Doesn't work