Nightwatch v1.1.9 Release Notes

Release Date: 2019-05-16 // almost 5 years ago
    • ๐Ÿ›  Fixed #2091 - an issue with waitForElementNotPresent causing the test to fail immediately if the element is found, without retrying;
    • โž• Added support for Safari to use W3C Webdriver protocol by default;
    • โž• Added support for using protocol element commands directly on the page object sections:

      const homepage = client.page.home();const navigation = homepage.section.navigation;navigation.api .elementIdElements('@versionDropdown', 'css selector', 'option', function(result) { console.log('result', result); });

    โœ… Checkout the nightwatch-website-tests example tests also for more usage details.