I am developing safari browser extension which should have taking screenshot functionality.
Chrome and Firefox has their own apis to take SS of the current window document. I could not find any safari specific/API documentation for it. The Windows and Tabs API
What would be the best way to achieve it?