Protractor v3.1.0 Release Notes

  • ⬆️ Dependency Version Upgrades

    • (f699718) updates(selenium): update chromedriver and selenium-standalone

    Selenium-standalone update to 2.51.0. Update chromedriver to 2.21.

    Chromedriver changelog: http://chromedriver.storage.googleapis.com/2.21/notes.txt Selenium changelog: https://github.com/SeleniumHQ/selenium/blob/master/dotnet/CHANGELOG

    • (5930d14) chore(deps): update various npm dependencies to latest stable releases

    🔋 Features

    • (3f3805f) feat(attachSession): attach protractor to existing webdriver session

    Attaching an existing selenium browser session to protractor rather than always creating new one. The session can be passed into the config file as a string via the sessionId.

    • (b693256) feat(webdriver): allow configuration of all SeleniumServer arguments

    You can now pass a complete object of configuration for the SeleniumServer class. This allows enabling loopback on the selenium server.

    • (148f020) feat(protractor): Add support to allow Protractor to test an Angular application which has debugging info disabled

    Currently Angular application which for performance reasons, have debug information turn off cannot be tested. This PR allows users to add the Angular debug logging flag to the Protractor run.

    • (aa5ceb5) feat(webdriver): add support for selenium webdriver proxy

    • (b110ed9) feat(debugger): allow multiple browser.pause()

    After this change, you can put multiple browser.pause() in the code. Each browser.pause() is like a traditional breakpoint.

    To detach from the debugger, press D (CTRL+D). This will continue code execution until it hits the next browser.pause() or code finishes running.

    This PR also fixes a number of small formatting issues.

    • (fb10c5c) feat(webdriver): Allow users to use webdriver's disableEnvironmentOverrides

    Fixes #2300

    • (fa0c692) feat(config): allow onComplete to return a promise

    Closes #1944

    🐛 Bug Fixes

    • (f533341) bug(driverProvider): fix driver path generation for *nix platforms

    Makes error messages better