Skip to content

Conversation

@nekooei
Copy link

@nekooei nekooei commented Sep 12, 2022

by this contribution, you can connect to remote chrome(browser) instance

example usage:
const options = {
useRemoteChrome: true,
chromeRemoteWs: 'ws://localhost:3000',
format: 'A4',
printBackground: true,
};
const pdfBuffer = await html_to_pdf.generatePdf(fc, options))

@nekooei
Copy link
Author

nekooei commented Jan 20, 2023

@mrafiqk is there any problem for review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant