Playwright’s getByRole uses of querySelectorAll(‘*’) and matches elements by the accessible name.
getByRole
querySelectorAll(‘*’)