v1.2.0
Features:
-
Add a
nightly
build (installable withnpm i @space-labs/osnap@nightly
) which includes all commits on the main git branch.
This version is always the most up to date, but also the most unstable release. Use with care! -
Add size restrictions to actions and ignore regions.
You may now add an action or ignore region which only affects specific screen sizes. Additional infos can be found in the readme -
Format result time in hours, minutes and seconds instead of just seconds.
-
Wait for potential page load on
click
&type
actions.
If aclick
ortype
action results in a navigation of the page, OSnap will now automatically wait for the new page to be completely loaded, before proceeding with the next action.
Bugfixes:
-
Fix platform detection on windows for download-chromium
-
Fix parsing of config files on windows
-
Prevent the browser from resizing while taking the screenshot
Other:
-
Decrease size of npm package by ~30% (from 41.9 MB to 29.6 MB)
-
Move
download-chromium
command into the main binary (it can now be called viaosnap download-chromium
) -
Add
-vv
flag to output verbose logs for debugging -
Add centos and ubuntu docker containers
-
Update chromium to revision 884014