Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

getDisplayMedia screenshots

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages