Changelog
TestCafe v3.7.0 Released
The TestCafe v3.7.0 update includes the capability to use Metadata
as an interface, esm
configuration file option, and a number of bug fixes.
meta-readmore
Earlier versions of TestCafe supported Metadata
as a type. In TestCafe v3.7.0 and higher, you should declare Metadata
as an interface.
// testcafe.global.d.ts
declare module "testcafe" {
global {
interface Metadata {
manual?: boolean,
}
}
}
Earlier versions of TestCafe supported the ESM Module from the CLI only. In TestCafe v3.7.0 and higher, you can use the esm configuration file option. Note that this option only works with Node.js 18.19-18.xx, and 20.8.0 and up.
WebSocket connection closed
error in Chrome v130 (#8286).unknown
(#8228).WebSocket connection closed
error occurs while running TestCafe in Chrome v127. The updated version includes the --disable-search-engine-choice-screen
flag (#8240).leaveElement
method call causes an error when the prevElement
object is removed from the DOM (#8264).