Ugh, zero attributes is the worst. For how to locate element without using attributes, try:
- `document.querySelectorAll('*')[index]` (brute-force, but works if DOM is small).
- `elementFromPoint(x,y)` if you know the coords (kinda hacky tho).
Also, `window.getComputedStyle(el)` can sometimes reveal hidden traits.
Tool: [BrowserStack’s Automate](https://www.browserstack.com/automate) lets you test locators cross-browser.
- `document.querySelectorAll('*')[index]` (brute-force, but works if DOM is small).
- `elementFromPoint(x,y)` if you know the coords (kinda hacky tho).
Also, `window.getComputedStyle(el)` can sometimes reveal hidden traits.
Tool: [BrowserStack’s Automate](https://www.browserstack.com/automate) lets you test locators cross-browser.
