It's basically the underlying premise of software like Playwright (and its predecessors like Puppeteer) that make any web site/app programmatically accessible, but when you dive into these tools they require a lot of individual care for each ui and they're ripe with gotchas like elements not existing when you want them.