Compare
A Playwright test recorder without code to maintain
Playwright's test generator, codegen, turns what you do in a browser into test code: a quick start for people who then keep writing code. Assertline records the same kind of journey as a list of steps instead, runs it with Playwright in Chromium, Firefox and WebKit, and keeps every result with a screenshot of each step. This page says which one fits whom, from Playwright's own documentation, as of 24 November 2026.
The short answer
Use Playwright and its codegen when
- Your team writes code and wants its tests in the repository, next to the application.
- A test needs what only a programming language gives: loops, your own helpers, changing or mocking network traffic, calling your API directly.
- You want open-source tooling (Apache-2.0) with nothing hosted by anyone else.
- You want one framework in TypeScript or JavaScript, Python, Java or .NET.
Look at Assertline when
- The people who know the journeys best do not write code, and should still record and read the tests.
- Nobody wants to maintain test code: a recording should stay a recording.
- The team should see every run, with a screenshot of each step, without anyone setting up reports or a place to keep them.
- Tests should run on a schedule or in the cloud without a pipeline to build first.
Many teams have room for both: code for the cases that need logic, recordings for the journeys a person can simply walk through.
What Playwright's recorder gives you
Playwright's documentation says it "can generate tests automatically, providing a quick way to get started with testing". You run npx playwright codegen with the address of your site. It opens a browser window to use and the Playwright Inspector, where the test appears as code while you click and type. In VS Code the same recorder is behind "Record new".
- Locators chosen for you. Codegen "recommends the best locator, prioritizing role, text, and test id locators", and refines one that matches several elements until it identifies a single one.
- Three checks from the toolbar. While recording you can add "assert visibility", "assert text" and "assert value" by clicking an element.
- Code in your language. The result is a test file for Playwright in TypeScript or JavaScript, Python, Java or .NET.
From there it is a program like any other. You edit it, review it and run it with Playwright Test, which "bundles test runner, assertions, isolation, parallelization and rich tooling". Everything else Playwright can check is written by hand: its documentation covers network traffic, visual comparison of screenshots and accessibility testing with axe, each as code.
Playwright codegen and Assertline side by side
| Playwright with codegen | Assertline | |
|---|---|---|
| What it is | "A framework for Web Testing and Automation", open source under the Apache-2.0 licence, with a test generator. | A hosted service for end-to-end tests, with a free recorder, a Free plan and paid plans. |
| What a recording becomes | A test file of code, which you then keep and change as code. | A list of steps in your team's workspace, changed in the dashboard or recorded again. |
| Who can change a test | Someone who writes code. | Anyone on the team: remove a step, change its order or its details, without code. |
| Finding an element again | One recommended locator for each element, "prioritizing role, text, and test id locators". | Up to seven ways to find each element are kept and compared at each run. The results say when another one was used. |
| Checks added while recording | Visibility, text and value of an element. | Text on the page or gone, an element visible or not, the address, a cookie, a stored value, a network call, a Figma design, spacing. |
| Checks on network calls | In code: Playwright "provides APIs to monitor and modify browser network traffic". | By pointing at a request a step caused: status, response time, headers, query and JSON fields, how often it was made, or that it was never made. |
| Checks on how it looks | In code: it can "produce and visually compare screenshots" against earlier ones. | A component against its node in Figma (colours, type, radius, size), and the spacing between elements. No comparison of whole screenshots. |
| Anything else | Whatever you can program, such as accessibility testing with axe or calling your API directly. | The kinds of check named above, and a "Page is accessible" check. No scripts and no loops inside a test. |
| Browsers | "Chromium, WebKit and Firefox browsers as well as branded browsers such as Google Chrome and Microsoft Edge." | Chromium on every plan, Firefox and WebKit on Pro, your own Chrome through the recorder, more through your own BrowserStack account. |
| Where it runs | Wherever you run it: your computer, and "any CI provider" once you have set a pipeline up. Tests run in parallel. | Your own Chrome or the desktop app on every plan. The cloud, schedules and a pipeline on Pro. Assertline picks the place. |
| Results | Built-in reporters, such as an HTML report, and a trace viewer to go "back and forward through each action". Keeping them for the team is up to you. | A dashboard shared by the team: every step with a screenshot, its timing and its network calls, kept as history. |
| Price | Open source. | Free: 2 editors, 2 projects, unlimited tests and unlimited runs on your own computer. Pro: $99 a month for up to 5 editors. Pricing. |
How Assertline uses Playwright
Assertline does not replace Playwright: it runs on it. A run on your computer with the desktop app, a run from your pipeline and a run in our cloud are all driven by Playwright, in its builds of Chromium, Firefox and WebKit. A run in your own Chrome is done by the recorder extension itself.
What Assertline adds on top is everything around the browser: the recorder, the steps and the several ways each element is found, the checks, the places to run, and the results. You never see or write Playwright code, and Assertline does not export a test as Playwright code.
Trying Assertline next to your Playwright tests
Nothing has to move. Pick one journey that somebody clicks through by hand before each release, and record it:
- Add the free recorder to Chrome and create a free account.
- Open the journey in your browser, press Start, go through it, press Stop.
- Add a check on the last page, and one on the request behind it.
- Press Run. On your own computer it is free and unlimited.
Each step is described in How to record an end-to-end test without writing code. There is no importer for Playwright test files: a journey is recorded again, not converted.
Where the statements about Playwright come from
Each statement about Playwright on this page was read in its own documentation on 24 November 2026:
- Generating tests (codegen)
- Test generator
- Installation and what Playwright Test is
- Browsers
- Parallelism
- Setting up CI
- Reporters
- Trace viewer
- Network
- Visual comparisons
- Accessibility testing
- Getting started in VS Code
- The project on GitHub
Playwright is an open-source project of Microsoft. Assertline is not affiliated with Microsoft or endorsed by it. If something here is no longer right, write to support@assertline.com and we will correct it.
Questions
Is Assertline built on Playwright?
Yes. Runs on your computer with the desktop app, from your pipeline and in the cloud are driven by Playwright, in Chromium, Firefox and WebKit. A run in your own Chrome is done by the recorder extension.
Does Assertline generate Playwright code?
No. A recording is kept as a list of steps, not as code, and it cannot be exported as Playwright code. If code is where you want to end up, Playwright's own codegen is the better fit.
What does Playwright codegen record?
According to Playwright's documentation, codegen opens a browser window and the Playwright Inspector, and writes a test as code while you use the page. It picks a locator for each element and lets you add checks for visibility, text and value.
Can I import my Playwright tests into Assertline?
No. There is no importer for Playwright test files. A journey is recorded again in your browser, which for most takes a few minutes.
Can I use Playwright and Assertline together?
Yes. They do not get in each other's way: tests written in code stay in your repository and pipeline, and recorded journeys live in Assertline.
Record one journey and compare
Take a journey you already test with Playwright and record it. The recorder and the Free plan cost nothing.