Protractor v0.15.0 Release Notes
-
๐ Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time.
๐ Features
- โก๏ธ (f8d0291) chore(version): update the version of dependency minijasminenode
This is notable because in the newer 0.2.6 version of minijasminenode, ddescribe and iit are supported. These should be available after running an 'npm update'.
- (6165023) feat(runner): return a promise from runner.runOnce
In some cases knowing when the runner has finished is a requirement (e.g. an async grunt task).
๐ (d44ef01) feat(debugging): remove webdriver lines from stacktraces by default to improve readability
(33fa4a4) feat(locators): by model works for anything with a model, not just input
Notably, by.model will now find selects and textareas.
Closes #321.
- ๐ป (238bb74) feat(ignoresync): ignoreSynchronization now affects the behavior of browser.get
Now, when ignoring synchronization, calls to browser.get are equivalent to calling browser.driver.get.
Closes #306
- (30c0ceb) feat(element) element.all exports an 'each' method
Usage:
element.all(by.model('foo')).each(function(webElement) { // Do stuff with webElement. });
Closes #298
- ๐ (6a73a25) feat(by.repeat) by.repeat support for multi ng-repeat
Make by.repeat (and its column and row friends) work with ng-repeat-start and ng-repeat-end elements.
Closes #366. Closes #182.
๐ Bug Fixes
- (50d6fde) fix(clientSideScripts): bind-template directive shouldn't break bind locators
Fix "UnknownError: angular.element(...).data(...).$binding[0] is undefined" error raised when trying to use "by.binding" locator in any element of a page that contains at least one "bind-template" directive.
- (f8c606b) fix(webdriver-manager): make sure selenium standalone shuts down nicely
This addresses selenium server shutdown in two ways
- the node process will stay open until selenium has exited
if the user inputs to STDIN (e.g. press space) selenium will shut down gracefully
- ๐ (e98f71e) fix(webdriver-manager): fix IEDriver install and running via windows
Changed the binaries.ie.url function to return the correct URL for the IEDriverServer. Created the zip object in the win32 section to be able to decompress IEDriverServer. Added a function to normalize a command across OS and spawn it. It allows start the webdriver in win32.
Seen here: https://github.com/yeoman/generator/blob/master/lib/actions/spawn_command.js