All Versions
Latest Version
Avg Release Cycle
15 days
Latest Release
39 days ago

Changelog History
Page 7

  • v1.8.2-rc.1 Changes

    February 12, 2020

    What’s Changed

  • v1.8.1 Changes

    January 23, 2020

    v1.8.1 (2020-1-23)

    🐛 Bug Fixes

    • ✅ TestCafe now starts correctly when unsupported browsers are installed in the system (#4661)
    • t.getBrowserConsoleMessages now returns a list of recorded console messages instead of undefined (#4662)
  • v1.8.1-alpha.1 Changes

    January 21, 2020

    What’s Changed

  • v1.8.0 Changes

    January 17, 2020

    v1.8.0 (2020-1-17)

    🍱 🌟 Support for the New Microsoft Edge

    📚 TestCafe v1.8.0 supports the new Microsoft Edge based on Chromium. The new Edge is available under the same alias: edge.

    testcafe edge test.js
    await runner .src('test.js') .browsers('edge') .run();

    👌 Supported Edge's features include headless mode, mobile device emulation, and video recording.

    🐛 Bug Fixes

  • v1.8.0-rc.3 Changes

    January 17, 2020

    What’s Changed

  • v1.8.0-rc.2 Changes

    January 17, 2020

    What’s Changed

  • v1.8.0-rc.1 Changes

    January 16, 2020

    What’s Changed

  • v1.7.1 Changes

    December 19, 2019

    v1.7.1 (2019-12-19)

    🐛 Bug Fixes

    • ✅ Status bar has been redesigned to fit the debug panel into small screens and emulated mobile devices (#2510)
    • ➕ Added timestamp to requests logged with RequestLogger (#3738)
    • t.typeText now fires the beforeInput event (#4486)
    • ✅ The t.hover action can now be detected with the jQuery :hover pseudoselector (#4493)
    • 🔀 Object.assign now merges Symbol properties on tested pages correctly (testcafe-hammerhead/#2189)
  • v1.7.1-rc.1 Changes

    December 18, 2019

    What’s Changed

  • v1.7.0 Changes

    November 21, 2019

    v1.7.0 (2019-11-21)

    ✨ Enhancements

    🍱 ⚙️ Identify the Browser and Platform in Test Code (#481)

    ✅ TestCafe now allows you to obtain information about the current user agent. These data identify the operating system, platform type, browser, engine, etc.

    📚 Use the t.browser property to access user agent data.

    import { Selector } from 'testcafe'; fixture `My fixture` .page ``;test('My test', async t =\> { if ( !== 'Chrome') await t.expect(Selector('div').withText('Browser not supported').visible).ok(); });

    📚 The t.browser object exposes the following properties:

    Property Type Description Example
    📚 alias String The browser alias string specified when tests were launched.
    📚 name String The browser name.
    📚 version String The browser version.
    📚 platform String The platform type.
    📚 headless Boolean true if the browser runs in headless mode.
    📚 os Object The name and version of the operating system.
    📚 engine Object The name and version of the browser engine.
    📚 userAgent String The user agent string.
    📚 prettyUserAgent String Formatted string with the browser's and operating system's name and version.

    📚 The following example shows how to create a beforeEach hook that runs for specific browser engines.

    import { Selector } from 'testcafe'; fixture `My fixture` .page `` .beforeEach(async t =\> { if ( === 'Blink') return; // ... });

    📚 You can also use t.browser to generate the screenshot path based on the browser name. This prevents screenshots taken with t.takeElementScreenshot in different browsers from being overwritten.

    import { Selector } from 'testcafe'; fixture `My fixture` .page ``;test('My test', async t =\> { const loginButton = Selector('div').withText('Login'); await t.takeElementScreenshot(loginButton, `auth/${}/login-button.png`); });

    📚 For more information and examples, see Identify the Browser and Platform.

    🐛 Bug Fixes

    • 🛠 Fixed an error on pages that submit forms immediately after loading (#4360 by @bill-looby-i)
    • ✅ TestCafe now scrolls to elements located inside Shadow DOM roots (#4222)
    • 🛠 Fixed an error that occurred when TypeScripts tests that use Node.js globals were run with TestCafe installed globally (#4437)
    • 🛠 Fixed the TypeScript definition for the Selector.withAttribute method's return type (#4448)
    • 🛠 Fixed an issue when custom browser providers could not take screenshots (#4477)
    • 👌 Support pages that use advanced ES6 module export (testcafe-hammerhead/#2137)
    • 🛠 Fixed compatibility issues with Salesforce Lightning Web Components (testcafe-hammerhead/#2152)