Playwright's accessibility tree API, locator system, and headless Chromium management are what make ref-based interaction possible. The snapshot system — assigning @ref labels to accessibility tree ...
If these are weak, Playwright feels hard for the wrong reason.