mani gupta
mani gupta

Reputation: 109

How to capture the screen of UWP web app

I want to take the screenshot of app running window in UWP javascript version. As I got RenderTargetBitmap there for doing same but only available for C# version of UWP.

I want to do the same thing in UWP javascript app.

Please let me know could it possibly be done in UWP javascript app and HOW?

Any help would be highly appreciated in advance.

Thanks

Upvotes: 0

Views: 142

Answers (1)

Uri Kalish
Uri Kalish

Reputation: 13

We needed to get a screenshot of a web page using only javascript (no browser extensions, or user interaction). We've tried using html2canvas, but it seems like it can only handle a VERY basic UI. So, I wrote a small javascript library (html-screen-capture-js) for that purpose. Feel free to try it out.

https://www.npmjs.com/package/html-screen-capture-js

Upvotes: 1

Related Questions