Protractor v0.13.0 Release Notes

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

    ๐Ÿ”‹ Features

    • (ce5f494) feat(element): element.all now has 'first' and 'last' methods

    • (ef61662) feat(runner): allow bypassing the selenium standalone server if running only chrome

    Using the config option chromeOnly now enables running ChromeDriver directly, without going through the Selenium Standalone. The chromedriver binary should be available in your PATH, or should be specified with the config option chromeDriver.

    • (76c094a) feat(getLocationAbsUrl) - allows current url to be obtained on IE (and Chrome/Firefox)

    • (6a1c918) feat(runner): add error message for bad jar path

    • (98bce7e) feat(locators): add the ability to add custom element locators with by.addLocator

    Custom locators can now be added using by.addLocator(name, script), where script is a self-contained snippet to be executed on the browser which returns an array of elements. Closes #236.

    • โšก๏ธ (c7bcc20) chore(angular): update to angular 1.2

    ๐Ÿ› Bug Fixes

    • (a24eeee) fix(runner): do not error out if only one spec pattern does not match any files

    Previously, the runner would throw an error if any one of the spec patterns did not match any files. Now it logs a warning in that case, and errors out only if there are no found files in any spec patterns. Closes #260

    • (f3b3fdb) fix(element): fix an error where all.then() wasn't calling callbacks.

    Closes #267

    • (137d804) fix(jasminewd): patched matcher should understand 'not'

    Closes #139.