Screenshot and pdf

I want to capture screenshot of the page on button click and at the last all the caputered images should be converted into a pdf. Is this possible?
how can I do that?

This tutorial by @thewixwiz might help

2 Likes