Socket
Socket
Sign inDemoInstall

protractor

Package Overview
Dependencies
125
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
11Next

4.0.12

Diff

Changelog

Source

4.0.12

Bug Fixes

  • (742f264) fix(driverProviders): quit forked instances w/ local driver provider (#3787)

    • fix driver provider quit session to not throw error and quit
    • should fix sauce labs test, enabling expected conditions test with forked instance
    • checked that chromedriver does not persist in the background
    • add local driver test with forked instance to test suite
    • organize attach session and local specs to driverProviders directory closes #3780, closes #3779, closes #3772
  • (7d481d6) fix(ExpectedConditions): non-static ExpectedConditions for browser (#3766)

    • Update sauce lab binary to run on travis.
    • Disable expected conditions test that forks the browser. This issue appears to not be specific to sauce labs. Also can reproduce this with a local driver provider. Additional work is required around driver providers and the runner.
    • Add TODO to enable test in the future when this is resolved. closes #3761
angularcore
published 4.0.11 •

Changelog

Source

4.0.11

Features

  • (6ebee72) feat(config): Add 'random' and 'seed' jasmine config options (#3467)

Bug Fixes

  • (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)

Dependencies

  • (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.

angularcore
published 4.0.10 •

Changelog

Source

4.0.10

Features

  • (7083426) feat(hybrid): set ng12hybrid flag in the config (#3452)

Bug Fixes

  • (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()

Dependencies

  • (c11945a) deps(outdated): webdriver-manager and @types updated

    • webdriver-manager 10.2.6 uses the latest chromedriver, version 2.25
angularcore
published 4.0.9 •

Changelog

Source

4.0.9

This version includes a breaking change to the TypeScript import statement. Please see the feature below.

Features

  • (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

angularcore
published 4.0.8 •

Changelog

Source

4.0.8

Bug Fixes

  • (58459a9) fix(types): do not publish built/globals.d.ts (#3546)

    • do not publish built/globals.d.ts
    • remove type interface for HttpProxyAgent and set to to any
angularcore
published 4.0.7 •

Changelog

Source

4.0.7

Dependencies

  • (a68dd3f) deps(jasmine): lower jasmine version down to 2.4.1 (#3540)

    • upgrading to 2.5.x no longer logs jasmine output
angularcore
published 4.0.6 •

Changelog

Source

4.0.6

Bug Fixes

  • (d18bba3) fix(types): remove relative path used for @types/node and @types/jasmine (#3535)

Dependencies

closes #3533

  • (4e7e8ec) deps(outdated): update types/q and jasmine (#3525)

Other

  • (9d5edbe) chore(node): require the minimum node version 4.2.x required by selenium-webdriver (#3534)
angularcore
published 4.0.5 •

Changelog

Source

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:

  • In your package.json, use TypeScript 2.0.0. This will allow Protractor to use the @types/node and @types/jasmine installed in node_modules.
  • Remove 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.
  • If you still have a typings.json file, remove typings directory and install a fresh set of ambient typings with: typings install.

Features

  • (30102fb) feat(util): Allow more verbose logging with multiple sessions (#2985). (#3499)

Bug fixes

  • (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)

    • include node and jasmine dependency to built/index.d.ts
    • update example and spec/install to not need @types/jasmine and @types/node to install
    • add more selenium-webdriver to gulp task
    • added an interface in globals for Error to include a code and stack
    • improve webdriver typings to elements and browser
  • (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)

    • temporarily add typings for selenium-webdriver.d.ts
    • include selenium-webdriver dependency to built/index.d.ts
    • add webdriver typings to locators
    • update example and spec/install to not use typings.json
    • spec test updated to get the tsc test to pass
    • includes clang formatting fixes
  • (e0b151a) fix(launcher): Handle uncaught exceptions that are strings. (#3506)

    Also clean up instances where we were throwing strings instead of Errors.

angularcore
published 4.0.4 •

Changelog

Source

4.0.4

Features

  • (c5faf08) feat(browser): auto-unwrap ElementFinder into WebElement for selenium funtions (#3471)

  • (a379b33) feat(plugins): support onPrepare in plugins (#3483)

Dependencies

  • (d10bc99) deps(outdated): update types/q and saucelab

  • (4252000) deps(types): typescript and typings dependencies (#3485)

    • remove typings dependency, scripts, and gulp task
    • add @types dependencies
    • clean up globals.ts from npm publishing
    • add declaration flag for tsc globals gulp task
    • ignore globals.d.ts from tsconfig and .gitignore closes #3484
angularcore
published 4.0.3 •

Changelog

Source

4.0.3

Bug fixes

  • (5f690fe) fix(export): export selenium-webdriver (#3433)

    • rename to ProtractorBrowser to be able to export selenium-webdriver Browser as Browser
    • export all selenium-webdriver items and subfolders in ptor
    • update dependency tests for selenium
    • add tests when protractor is installed closes #209227
  • (27f7981) fix(config): fix interface for functions such as onPrepare (#3434)

    closes #3431

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc