Track Frontend JavaScript errors with Playwright fixtures
Learn in this video how you can leverage Playwright's fixture to track Frontend JavaScript exceptions and fail your tests when there are errors in a page.
A spicy article hit my inbox the other day. It came with a bold claim — “API testing is better than UI testing”. Absolutes like “A is better than B” rarely hold in the software world. “It depends” is the answer to most tech questions for a reason. Let’s compare API and UI testing and discuss why one isn’t better than the other. The frenemies are “just different”, and always will be. And that’s a good thing.