Releases: Seneca-CDOT/plumadriver
Releases · Seneca-CDOT/plumadriver
v0.10.1
Fix
- Corrected default
PageLoad
value in Set Timeout endpoint. AcceptInsecureCerts
fixed to handle all possible values in session creation.UnhandledPromptBehavior
now works properly inignore
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 thehas
package. - Changed build target to
ESNext
.
Documentation
- Added link references to W3C spec for completed endpoints.
v0.10.0
Adds
- Switch to Frame endpoint.
- Switch to Parent Frame endpoint.
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
Adds
- Get Active Element endpoint.
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
Adds
- Updated jsdom to version 16.2.0. See release notes.
- Updated dependencies:
nock
,typescript
,async-mutex
,request
,uuid
, andpkg
.
v0.8.0
Adds
- Updated jsdom to version 16.1.0. See release notes.
v0.7.0
Adds
- Updated jsdom to version 16.0.1.
- Updated express, linting, and testing packages.
- Stubs/shims for
HTMLElement.scrollIntoView()
,SVGRectElement.getBBox()
, andperformance.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
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 withnpm run commit
.
v0.5.0
Adds
is Displayed
endpoint.- macOS support.
Fixes
- Corrects
NodeList
andHTMLCollection
objects not being handled properly inExecute Script Sync
Known Issues
Get Element Text
does not implement the W3C recommendation (returns plaintextContent
instead).
v0.4.0
Adds
Get Named Cookie
,Delete Cookie
, andDelete 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
- Adds Is Element Enabled endpoint.
- Fixes bugs in
Add Cookie
andExecute Script
endpoints. - Fixes crash that would occur when receiving a
401
after navigation.