3 ms·
Have you seen https://docs.browserless.io/docs/pdf.html https://docs.browserless.io/docs/pdf.html? It’s in a docker image too if that’s all you need.
by mrskitch 8y ago
Have you seen https://docs.browserless.io/docs/pdf.html https://docs.browserless.io/docs/pdf.html? It’s in a docker image too if that’s all you need.
- leesalminen 8y agoJust saw your other comment! The /function call looks interesting. Would I be able to use puppeteer’s request intercept API with it? A bit more on my use case: currently using pdf.js for rendering HTML reports as a PDF. It’s been a pain. I’d like to essentially take the HTML of some (say, just a <table>) or all (full HTML doc) of the current page and send it off. The main gotcha I can think of is relative URLs but intercept request would resolve that.
- mrskitch 8y agoYes: anything available on the `page` object is available in the /function route, so request interception is available!
- pwaai 8y agolooks like Google claims another victim....I don't see the point of using browserless