Skip to content

Releases: Seneca-CDOT/plumadriver

v0.10.1

29 Apr 22:00
77742ac
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release

Fix

  • Corrected default PageLoad value in Set Timeout endpoint.
  • AcceptInsecureCerts fixed to handle all possible values in session creation.
  • UnhandledPromptBehavior now works properly in ignore cases.
  • Set timeout endpoint now accepts zero values.
  • Properly returns { value: null } in cases where the endpoint has no explicit value.
  • Get All Cookies endpoint no longer returns unassociated cookies.
  • Added missing types and return values in TypeScript functions.
  • Linter script runs properly now on both .ts and .js files.

Add

  • Added ability to run npm scripts on multiple platforms.
  • Added status code checks in supertest requests.

Refactor

  • Progress toward TypeScript strict mode.
  • Fixed missing types and return values in TypeScript.
  • Fixed spelling mistake in capabilities variables.
  • Converted namespace imports to default imports.

Optimization

  • Replaced constructor name checks with more efficient runtime validation algorithms.
  • Replaced custom tough-cookie module with upstream version.
  • Avoided redundant hasOwnProperty lookups by using the has package.
  • Changed build target to ESNext.

Documentation

  • Added link references to W3C spec for completed endpoints.

v0.10.0

26 Mar 00:43
8c7b470
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Adds

Fixes

  • Appropriately throws stale element reference error when an accessed element has been removed or does not exist in the current browsing context.

Updates

  • jsdom has been updated to v16.0.2

v0.9.0

04 Mar 23:18
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

Adds

Fixes

  • Focusable elements (e.g. input, select, textarea, button) will now be focused on click.
  • Stops click events from bubbling when the element has a label element as an ancestor. This prevents a call stack error, and is a workaround for this jsdom bug.

v0.8.1

25 Feb 22:49
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Adds

  • Updated jsdom to version 16.2.0. See release notes.
  • Updated dependencies: nock, typescript, async-mutex, request, uuid, and pkg.

v0.8.0

13 Feb 01:23
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

Adds

v0.7.0

30 Jan 02:24
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Adds

  • Updated jsdom to version 16.0.1.
  • Updated express, linting, and testing packages.
  • Stubs/shims for HTMLElement.scrollIntoView(), SVGRectElement.getBBox(), and performance.timing.navigationStart

Refactor

  • remove explicit Promise return in Session process function.

Repo Improvements

  • Added CI for both Windows and Linux builds.
  • Documentation: added PlumaDriver options section.

v0.6.0

16 Jan 04:58
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Adds

  • Get Page Source endpoint.
  • /shutdown endpoint (non-W3C). Used by Selenium to instruct a WebDriver process to exit.
  • End-to-end tests for session creation and deletion endpoints.

Fixes

  • Fixed incorrect browserVersion sent when creating a session.
  • Removed unnecessary process.env checks when starting the server.
  • Fixed broken npm run watch script.
  • Fixed bug when trying to run lint scripts manually.
  • Fixed bug when attempting to commit markdown file changes with husky.

Repo Improvements

  • Documentation: updated instructions for building PlumaDriver, and using it with or without Selenium.
  • Added CONTRIBUTING.md with commit format information.
  • Added Commitizen to provide an interactive way to create commits with npm run commit.

v0.5.0

16 Jan 04:58
b76747d
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Adds

  • is Displayed endpoint.
  • macOS support.

Fixes

  • Corrects NodeList and HTMLCollection objects not being handled properly in Execute Script Sync

Known Issues

  • Get Element Text does not implement the W3C recommendation (returns plain textContent instead).

v0.4.0

04 Dec 21:57
c115c63
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Adds

  • Get Named Cookie, Delete Cookie, and Delete All Cookies endpoints.

Fixes

  • Addressed issue causing some functions to be undefined in the execute script context.
  • Corrected typo in UnhandledPromptBehaviour property sent to the client.
  • Fixed falsy values not being handled properly in Execute Script Sync
  • Removed unnecessary logs sent to the console during tests.

v0.3.0

20 Nov 23:00
9189039
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Adds Is Element Enabled endpoint.
  • Fixes bugs in Add Cookie and Execute Script endpoints.
  • Fixes crash that would occur when receiving a 401 after navigation.