Protractor v5.2.1 Release Notes

  • ๐Ÿ”‹ Features

    • (a62efc6) feat(locators): Add support for regex in cssContainingText (#4532)

    ๐Ÿ›  Fixes

    • (e51f0ec) fix(doc): update doc for testing with node 8 async/await and chrome inspector. (#4613)
    • (b204a83) doc(browser-support) improved Firefox documentation (#4553)
    • (8d71a1b) docs(page-objects.md): Refactor the existing Page Object example (#4576)
    • (95dd3ca) doc(tutorial): added example for element.getAttribute('value') to read text from an input (#4566)

    Dependencies

    • (bb63ab0) Update to the latest blocking proxy (#4546)

    ๐Ÿ’ฅ Breaking Changes

    • (5d13b00) fix(jasmine): Update Jasmine to support Node8 async/await (#4608)

    Breaking change for TypeScript: JasmineWD doesn't know anything about async/await, turns off JasmineWD if control flow was disabled.

    It will affect TypeScript tests that are using async/await and

    a. miss some await keyword in the test.(Previously, this might cause the test failed silently and be reported as pass), or

    b. use Promise in jasmine expect function

    Before ts await expect(getPromise()).toEqual(42); After ts expect(await getPromise()).toEqual(42);