I don't have much more knowledge about this than you probably have and I'm sure you did your own googling but just in case you missed this: https://stackoverflow.com/questions/4912092/using-html5-canv...
Suggested tool by best answer was this. https://github.com/niklasvh/html2canvas