protractor
Advanced tools
Changelog
4.0.12
(742f264) fix(driverProviders): quit forked instances w/ local driver provider (#3787)
(7d481d6) fix(ExpectedConditions): non-static ExpectedConditions for browser (#3766)
Changelog
4.0.11
(2048182) docs(timeout): Update timeout error message and docs (#3723)
(f3938f9) fix(jvmArgs): fixes jvmArgs launching selenium from config (#3698)
closes #3697
(21d534f) fix(types): Make element.then()'s signature more broad. (#3719)
(e9061b3) chore(types): make plugins.ts more strongly-typed (#3685)
(f42e0b3) fix(globals): Resolve exported globals dynamically. (#3716)
fixes #3677
(d7fa744) fix(util): Fix adding stack traces to Errors thrown as strings (#3687)
(a1c8a23) chore(deps): Downgrade jasmine to 2.4.1 (#3715)
Upgrading to 2.5.2 causes #3606. We'll need to wait on a fix for jasmine/jasmine-npm#95 before upgrading.
Changelog
4.0.10
(b67d8eb) fix(restart): typescript fix for browser.restart (#3658)
closes #3648
(6626ce7) fix(launcher) Ignore uncaught exceptions from webdriver. (#3608)
(5cef1bf) Explicitly remove newlines from getText() (#3618)
MSEdge does not properly remove newlines, which causes false negatives when using
textToBePresentInElement()
(c11945a) deps(outdated): webdriver-manager and @types updated
Changelog
4.0.9
This version includes a breaking change to the TypeScript import statement. Please see the feature below.
(5034c89) feat(typescript): move typescript variable instances from protractor/… (#3565)
Breaking change for TypeScript:
Instead of importing globals like browser
from protractor/globals
,
import from protractor
.
Before:
import {browser, element} from 'protractor/globals';
import {ElementFinder} from 'protractor';
describe('my app', () => {
myElement: ElementFinder;
beforeEach(() => {
browser.get('example.com');
myElement = element(by.css('foo'));
});
});
After
import {browser, element, ElementFinder} from 'protractor';
describe('my app', () => {
myElement: ElementFinder;
beforeEach(() => {
browser.get('example.com');
myElement = element(by.css('foo'));
});
});
Closes #3564
Changelog
4.0.5
In this version, there are several small changes that affect TypeScript users from the previous version 4.0.4. Here are some of the steps to resolve any transpiling errors:
@types/node
and @types/jasmine
installed in node_modules.jasmine
and node
from your typings.json
since these types are
already included via @types
. If these were the only ambient typings
installed, remove the typings.json
file.typings.json
file, remove typings
directory and
install a fresh set of ambient typings with: typings install
.(c5cc75b) fix(logger): Set the log level based on the config at startup. (#3523)
Fixes #3522. Also fix the mocha spec to stop yelling at us about ES6 arrow functions.
(c7fff5e) fix(jasmine): Pass control flow to Jasminewd (#3519)
Fixes #3505 and #2790, which is caused by JasmineWd and Protractor using different controlflow instances
(64b4910) fix(debugger): Fix issues when calling pause() multiple times (#3501) (#3504)
(143c710) chore(types): webdriver typings for elements and browser (#3513)
(8ca9833) fix(mocha): Wrap it.only with the selenium adapter. (#3512)
Fixes #3045. Since mocha 2.4.1, we should be wrapping global.it.only.
(f23d027) chore(types): webdriver typings for locators (#3507)
(e0b151a) fix(launcher): Handle uncaught exceptions that are strings. (#3506)
Also clean up instances where we were throwing strings instead of Errors.
Changelog
4.0.4
(c5faf08) feat(browser): auto-unwrap ElementFinder into WebElement for selenium funtions (#3471)
(a379b33) feat(plugins): support onPrepare in plugins (#3483)
(d10bc99) deps(outdated): update types/q and saucelab
(4252000) deps(types): typescript and typings dependencies (#3485)
Changelog
4.0.3
(5f690fe) fix(export): export selenium-webdriver (#3433)
(27f7981) fix(config): fix interface for functions such as onPrepare (#3434)
closes #3431