Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 10, 2019
Apr 10, 2019

Browsershot

Taking screenshots programatically, using the getDisplayMedia API. Useful for debugging, feedback etc.

Example

let bs = await import("https://unpkg.com/browsershot/index.js");
try {
	let canvas = await bs.toCanvas();
	document.body.appendChild(canvas);
} catch (e) {
	alert(e.message);
}

About

Utility library for programmatic screenshots via getDisplayMedia

Topics

Resources

Releases

No releases published

Sponsor this project

 

Packages

No packages published