Code export: a recording becomes Playwright, Selenium, Robot Framework or pytest
The code emitter turns a recording’s steps and locators into Playwright TypeScript or Python, Selenium for Python, Robot Framework with the Browser library, or pytest code; the export is the exit path from the platform and the way tests reach your CI.
Which way the data flows
Platform to your repository. Hand-written tests are not imported back; flows are recorded.
Set it up
- Open a recording and choose Export, then the framework.
- Copy the generated code into a file in your repository; test ids, role and name, label, text, CSS, id, name and XPath locators are written the way the framework expects.
- Run it on your own runner with the framework installed; the platform is not needed afterwards.
Where it stops
Stated plainly
- Locator rescue is a platform feature: exported code does not self-heal; it carries the locator that was current at export time.
- The export is one direction. There is no importer for Selenium, Cypress or Playwright files.
Questions buyers ask
Which locator strategies appear in the code?
Test ids (data-testid, data-test, data-cy and similar), role and name, label, text, CSS, id and name, and XPath, each in the target framework’s own API.
What is the pytest target?
Python with Playwright’s Python API, for teams that run pytest; the Selenium target writes Selenium bindings for Python, and Robot Framework gets keyword files.
Where it is implemented
The files in our code that carry this integration. A catalogue test checks that each still exists, so this page cannot outlive the feature.
backend/src/modules/recordings/services/framework-code-emitter.tsbackend/src/modules/recordings/services/playwright-ts-code-export.tsbackend/src/modules/qa-testing/services/export/robot-framework-export.ts
Related pages
- Recording your first test
- Test recorder and self-healing
- Every integration, by job
- Playwright: Playwright documentation (the vendor’s documentation, read 2026-11-10)
- Selenium: Selenium documentation (the vendor’s documentation, read 2026-11-10)
- Robot Framework: Robot Framework (the vendor’s documentation, read 2026-11-10)
- pytest: pytest documentation (the vendor’s documentation, read 2026-11-10)
Also under Exports: k6
Try it against your own pipeline
Free plan, no card; the integrations on this page are on every plan.