There are cases when screenshot/pdf needed together with page HTML. For now as I understand it requires two separate steps one just to get page content and second to make screenshot. This make redundant request, waste of resources and took time to process.
It may be useful to return page html together with binary data, so for example when operation is "get screenshot" - the page body could be easily extracted and returned in result json - as it done for headers.
There are cases when screenshot/pdf needed together with page HTML. For now as I understand it requires two separate steps one just to get page content and second to make screenshot. This make redundant request, waste of resources and took time to process.
It may be useful to return page html together with binary data, so for example when operation is "get screenshot" - the page body could be easily extracted and returned in result json - as it done for headers.