I'd love to find a way to programmatically create a Web Archive from a page that's currently open in Safari.
A new public API to do just this was recently exposed on `WKWebView` in the WebKit project, which hopefully will be made available in future macOS/iOS updates. Exposing a similar API to Safari App Extensions would greatly improve the user experience of an app I'm currently working on.
I'm imagining a `getWebArchive` method on `SFSafariPage`, analogous to the current `getScreenshotOfVisibleArea` method.
Happy to discuss my use case in more detail, or help clarify the request in any other way.
(I've also filed this request as issue FB7563410 through Feedback Assistant.)