mkoehnke / WKZombie

WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: html -> pdf?

marc-medley opened this issue · comments

Can WKZombie be used to generate a PDF file from the rendering of a webpage via either https and/or file url? (preferrably not as a image raster which is then placed into PDF)

I was curious if it were possible to do something similar, also:

Can WKZombie be used to generate a snapshot image from an html string?

I looked through the code and it doesn't seem possible for either scenarios, at least right now. But I would be curious if this had been though about for potential future releases.

@mkoehnke?