3 ms·
@schickling - When will the PDF support arrive? https://github.com/graphcool/chromeless/blob/master/docs/api.md#api-pdf https://github.com/graphcool/chromeless/
by titel 9y ago
@schickling - When will the PDF support arrive?
https://github.com/graphcool/chromeless/blob/master/docs/api.md#api-pdf https://github.com/graphcool/chromeless/blob/master/docs/api...
- pkilgore 9y agoAlso interested, this would be excellent fit for a use case I have archiving certain important government websites. Btw, does the .viewport() option not work in the demo? I'm seeing a `TypeError: Failed to fetch` when I set one.
- sorenbs 9y agoYou need to do it like this: https://chromeless.netlify.com/#src=const%20chromeless%20=%20new%20Chromeless(%7B%20remote:%20true,%20viewport:%20%7Bwidth:%201024,%20height:%20800%7D%20%7D)%0A%0Aconst%20screenshot%20=%20await%20chromeless%0A%20%20.goto('https://www.graph.cool')%0A%20%20.scrollTo(0,%202000)%0A%20%20.screenshot https://chromeless.netlify.com/#src=const%20chromeless%20=%2...
- pkilgore 9y agoThanks!
- 33degrees 9y agoInterested in this as well!
- schickling 9y agoAs I can't give you an exact estimate when it will arrive, seems like a lot of people are already asking for it here: https://github.com/graphcool/chromeless/issues/5#issuecomment-318186444 https://github.com/graphcool/chromeless/issues/5#issuecommen... Please feel more than welcome to take a stab at it yourself and create a PR for this feature! :)