It will be essential to have a system function to take screenshot of active page in perspective runtime and return it as bytes array.