Changelog
v2.5.0 (2023-04-06)
TestCafe v2.5.0 introduces three major enhancements:
t.report
method passes custom data to the test reporter.--native-automation
flag enables TestCafe to automate all Chromium-based browsers with the native CDP protocol.--esm
flag allows users to import ESM modules in test files.Changelog
v2.4.0 (2023-03-06)
TestCafe v2.4.0 introduces the Visual Selector Debugger. You can now create and debug Selector queries in the browser window.
TestCafe v2.4.0 displays the Visual Selector Debugger panel when you activate Debug Mode. Use the panel to debug Selector queries from your test, or generate new Selector queries.
If a Selector query causes your test to fail, add the t.debug() command after the last successful action, and launch the test.
When the test reaches the breakpoint, the window that runs the test displays the Selector Debugger panel. Copy the failing Selector query from test code to the Selector Debugger input field.
To interactively generate a Selector query, click the Pick button, and select the target element on the page.
For more information on the panel, its capabilities, and limitations, read the Visual Selector Debugger Guide.
Changelog
v2.3.1 (2023-02-09)
TestCafe v2.3.1 introduces a number of bug fixes.
test.meta
method precedes test code (#7482).