Protractor v0.23.0 Release Notes

  • 🚀 Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time.

    🔋 Features

    • (b7afa87) feat(addMockModule): allow additional parameters

    Allow Protractor’s 'addMockModule' method to pass context to its mocks, providing an argument to the script which overrides a module. Rely on the WebDriver’s 'executeScript' method.

    Closes #695

    • (546d41f) feat(sauceprovider): runner now prints a link to saucelabs test URL

    • (fd7fe4a) feat(launcher): Add support for splitTestsBetweenCapabilities.

    • (b93bf18) feat(elementFinder): keep a reference to the original locator

    • (98f4ba5) feat(locators): add by.exactBinding

    🐛 Bug Fixes

    • (43ff9e5) fix(jasminewd): allow asynchronous callbacks for jasmine tests

    Closes #728, Closes #704

    • (6249efe) fix(webdriver-manager): use request module instead of http

    Google changed selenium-server-standalone.jar's location and is returning 302 http module does not follow redirects

    Closes #826

    • (95093c3) fix(configParser): don't run suite if specs are supplied

    • (27a5706) fix(loading): fix timeouts with about:blank removal

    As documented at https://github.com/jnicklas/capybara/pull/1215 there are sometimes issues with webdriver and about:blank pages.

    Switching instead to try a data url.

    • (cbcdb48) fix(runner): add -r for each cucumber require

    • (e36c32a) fix(jasminewd): Use promise.all to combine promises and done

      • Make the flow promise explicit and use promise.all to wait for both promises to be fulfilled before calling the done callback
    • (b5c18db) fix(drivers): prevent Sauce Labs login credentials from showing up in logs

    Closes #754

    • (b85af50) fix(protractor): change angular-bootstrap wrapper for navigation

    • (8abea3c) fix(jasminewd): fix timeout for beforeEach and afterEach