We can just add new options for the features required by gtk API and use WebPageProxy::takeSnapshot().
Pull request: https://github.com/WebKit/WebKit/pull/4255
Committed 254723@main (910d348b46de): <https://commits.webkit.org/254723@main> Reviewed commits have been landed. Closing PR #4255 and removing active labels.