Releases: Seneca-CDOT/plumadriver
Releases · Seneca-CDOT/plumadriver
v0.10.1
Fix
- Corrected default
PageLoadvalue in Set Timeout endpoint. AcceptInsecureCertsfixed to handle all possible values in session creation.UnhandledPromptBehaviornow works properly inignorecases.- 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
.tsand.jsfiles.
Add
- Added ability to run npm scripts on multiple platforms.
- Added status code checks in
supertestrequests.
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
hasOwnPropertylookups by using thehaspackage. - 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 referenceerror 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.
/shutdownendpoint (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
browserVersionsent when creating a session. - Removed unnecessary
process.envchecks when starting the server. - Fixed broken
npm run watchscript. - 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.mdwith commit format information. - Added
Commitizento provide an interactive way to create commits withnpm run commit.
v0.5.0
Adds
is Displayedendpoint.- macOS support.
Fixes
- Corrects
NodeListandHTMLCollectionobjects not being handled properly inExecute Script Sync
Known Issues
Get Element Textdoes not implement the W3C recommendation (returns plaintextContentinstead).
v0.4.0
Adds
Get Named Cookie,Delete Cookie, andDelete All Cookiesendpoints.
Fixes
- Addressed issue causing some functions to be
undefinedin the execute script context. - Corrected typo in
UnhandledPromptBehaviourproperty 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 CookieandExecute Scriptendpoints. - Fixes crash that would occur when receiving a
401after navigation.