In short
- Dokimore has no importer for Selenium code. The path that ships is re-recording: click through each flow once, replay it as a test straight away, and run it beside the old suite.
- The flakiness that makes an old Selenium suite "politically untouchable" is often the wait race its own documentation names as one of the primary causes of flaky tests; a recorder on Playwright waits for the element before every action, and fallback locators can rescue steps the page changed.
- Retire a Selenium test only after its recorded equivalent has passed for a release or two, and export the recordings as code from day one, so the move never becomes lock-in.
About this article
- Format
- Scenario walkthrough: how a team would use the platform for one job; a scenario, not a customer story.
- Written for
- QA leads and test managers · SDETs and automation engineers
- Where it applies
- Every market. The rules that differ by country are on the country pages.
This is a scenario walkthrough of the recorder, its fallback locators and the code export. It is not a customer story, and it was corrected on 20 and 25 October 2026; the method notes at the end say what changed.
The stuck suite
A team has years of Selenium tests, 1,200 of them in this scenario. They want the speed and the built-in waiting of a newer engine, but a rewrite is months of unfunded work, so the old suite limps along: slow, flaky, and untouchable because nobody remembers what half the tests protect. Selenium itself is not the problem. It released 4.51.0 on 9 October 2026, it drives browsers through the W3C WebDriver standard in five languages, and a suite that old has usually outlived the people who wrote it rather than the tool.
Where the flakiness comes from
Selenium’s own documentation names one of the primary causes: the browser reaching the right state and the test code running are two processes in a race, "one of the primary causes of flaky tests", and its answer is an explicit wait for a condition. A ten-year-old suite tends to have sleeps where those waits should be, plus an implicit wait somewhere that the docs warn not to mix with explicit ones. Playwright, at 1.64.1 since 14 October 2026, waits for an element to be visible, stable and enabled before every action and retries its assertions until they pass, which removes that race for plain click-and-fill steps. It does not remove a race inside the application; that one is a bug, and a flaky test is sometimes its only witness.
The walkthrough
- List, do not import. There is no importer for Selenium code in Dokimore, so the work list is the old suite’s run history: the tests that fail most often and the flows the business cannot ship without come first.
- Record. Click through each flow once in a real browser. The recorder captures every step, the element it targeted, the locators available for it and the network calls the step caused, and the recording replays as a test straight away. A plain flow records in minutes; a hand-port is measured in hours.
- Stabilise. Recorded steps run on Playwright’s waiting, and when a page changes, the other locators captured at record time try to rescue the step; the run detail shows the one that failed, the one that matched and the strategy that found it, so a rescue is never silent. A review queue that approves a rescue before it applies is not available to customers; read the healed steps after each run.
- Retire in parallel. Run the recorded suite beside the Selenium suite. When a recorded flow has passed for a release or two, retire its Selenium counterpart. The old suite shrinks on evidence, not on a deadline.
- Export or stay. Run inside the platform, or export generated Playwright TypeScript, Selenium, Robot Framework or pytest code into your repository. Do it from the first week, so the exit is a habit rather than a project.
In the product
What Selenium still does better
- Language choice: official bindings for Java, Python, C#, Ruby and JavaScript, with a team’s existing build tooling around them.
- Grid and the ecosystem: a decade of infrastructure, cloud providers and plugins built on the WebDriver standard, and native mobile through Appium.
- Tests that encode logic a recorder cannot capture, data setup outside the browser, conditional paths, custom utilities: those are rewritten by hand in any tool, and the export gives you a starting file, not a finished one.
What to expect honestly
Flows with hand-rolled waits, custom utilities or data setup that lives outside the browser take the longest to re-record, and some tests protect nothing anyone can name; recording them one at a time is how a team finds out. In this scenario the plain click-and-fill flows record in an afternoon a sprint, and the genuinely hard remainder needs the same thinking a rewrite would have needed, with one difference: the old suite is still running while you think. We publish no percentage for how much of a suite is plain, because it depends on the suite; your ratio is the thing to measure in the first sprint.
What to do next
- List the suite from its run history: the tests that fail most and the flows the business cannot ship without come first; there is no importer, so the list is the plan.
- Record each flow once in a real browser and replay it the same day (recording your first test).
- Run both suites side by side and retire a Selenium test only after its recording has passed for a release or two.
- Export the recordings as Playwright, Selenium, Robot Framework or pytest code from the first week, so the exit stays a habit.
- Read the rescued steps after each run; a rescue is shown with the locator that failed and the one that matched (self-healing guide).
- Measure your own ratio of plain flows to hard ones in the first sprint instead of trusting a percentage.
Questions people ask
Does Dokimore read my existing Selenium test files?
No. There is no importer for Selenium, Cypress or Playwright code; the flows are recorded again in a real browser. The API studio does import Postman, Bruno, Insomnia and Hoppscotch collections, OpenAPI documents and cURL commands, and that is the API studio’s whole import surface today.
Will recorded tests be less flaky than my Selenium tests?
For the wait race, usually yes: the recorder replays on Playwright, which waits for an element to be visible, stable and enabled before each action and retries assertions until they pass, which is the fix Selenium’s own documentation prescribes for one of the primary causes of flaky tests. Flakiness that comes from the application, shared test data or an overloaded runner is unchanged by the tool.
Do I have to leave Selenium to use this?
No. Every recording exports as Selenium code as well as Playwright, Robot Framework and pytest, and the walkthrough keeps both suites running until each old test is retired on evidence. Selenium released 4.51.0 in October 2026 and remains the right choice for teams whose tests need its language bindings or its Grid.
How long does re-recording a suite take?
Minutes per mechanical flow, and real engineering time for flows with custom waits, outside data setup or conditional logic. The honest answer is that the ratio between the two depends on the suite, so we do not print a percentage; start with the tests that fail most and the flows the business cannot ship without, and measure your own pace in the first sprint.
How we measured this
- The suite size is a scenario chosen for arithmetic clarity. The export targets and the import surface are product facts on the article date, read from the code emitter and the API studio importers.
- Corrected 2026-10-20: an earlier version described an importer for Selenium, Cypress, Playwright and JMeter files with a per-item migration report. No such importer exists; this version describes re-recording, the path that ships.
- Corrected 2026-10-25: the summary said the recorded suite runs "with heal review" underneath. Customers have no review queue: a rescue applies during the replay and is shown in the run detail.
- Corrected 2026-10-28: the title promised a move "without a rewrite" while the body says logic-heavy tests are rewritten by hand in any tool, and "the mechanical majority" stated a share of the suite we do not measure. Both are reworded.
Sources
- Selenium downloads: 4.51.0, 9 October 2026, with bindings for Java, Python, C#, Ruby and JavaScript read
- Selenium documentation, Waiting strategies: the race between browser state and test code is "one of the primary causes of flaky tests"; do not mix implicit and explicit waits read
- Playwright, Actionability: actions wait for the element to be visible, stable, enabled and able to receive events read
- Playwright releases: v1.64.1, 14 October 2026 read