# A better way to end-to-end test your webapp

DevFeed: [A better way to end-to-end test your webapp](<https://devfeed.tech/articles/a-better-way-to-end-to-end-test-your-webapp-37612.md>)

Original publisher: [Read original article](<https://swizec.com/blog/a-better-way-to-end-to-end-test-your-webapp>)

Author: hi@swizec.com (Swizec Teller)

Published: 2026-01-06T00:00:00Z

Content type: opinion

Language: en

Sources: [Swizec Teller](<https://devfeed.tech/sources/swizec-teller.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [computer-use](<https://devfeed.tech/topics/computer-use.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [computer-use](<https://devfeed.tech/tags/computer-use.md>), [e2e](<https://devfeed.tech/tags/e2e.md>), [e2e-testing](<https://devfeed.tech/tags/e2e-testing.md>), [flaky](<https://devfeed.tech/tags/flaky.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [openai](<https://devfeed.tech/tags/openai.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

The article proposes an agentic approach to end-to-end testing for web applications. Tests describe user goals, while an agent uses screenshots and browser interactions to achieve and record those goals. Later runs replay the stored actions to check for regressions, reducing test-writing overhead and sensitivity to UI implementation changes.

## Source excerpt

End-to-end tests are the best way to test your webapp, but they're flaky and annoying to write. I'm trying a new agentic approach that fixes the issue.