Nightwatch v1.4.0 Release Notes

Release Date: 2020-09-04 // over 3 years ago
  • ๐ŸŽ This version significantly improves the network stability and performance of the test runner, by improving the underlying http retry mechanism and error detection and reporting of API commands โ€“ a particularly important update for when using cloud testing services.

    โž• Additionally, we have added better support for writing advanced custom commands to make it easier to extend Nightwatch, and improved support for using Nightwatch programmatically. See writing custom commands docs page.

    โšก๏ธ The Developer Guide docs also have been updated.

    ๐Ÿ”„ Changelog:

    • โž• Added improved http request retry mechanism and better error reporting for api commands โ€“ a04162c
    • โž• Added enhancements to assist in writing of custom commands โ€“ c977b16
    • โž• Added abortOnElementLocateError global property to control if the testcase in progress should continue in the event of an element locate error (as a result of a click, getText, etc. command) โ€“ #2459
    • ๐Ÿ›  Fixed an issue with merging the config settings when passed programmatically โ€“ #2483
    • ๐Ÿ›  Fixed an issue where transport was set incorrectly for Chrome when using chromeOptions.w3c:true โ€“ d56a9db
    • ๐Ÿ›  Fixed an issue where the locator strategy was not taken into account when specifying first argument in a waitFor* command โ€“ #2446

    • ๐Ÿ›  Fixed #2458 - implemented proper handling of 5xx server errors sometimes encountered during element commands, usually when using cloud testing services or selenium grid