Skip to content

use option for connect to remote chrome instance or local instance#77

Open
nekooei wants to merge 1 commit into
mrafiqk:masterfrom
nekooei:master
Open

use option for connect to remote chrome instance or local instance#77
nekooei wants to merge 1 commit into
mrafiqk:masterfrom
nekooei:master

Conversation

@nekooei

@nekooei nekooei commented Sep 12, 2022

Copy link
Copy Markdown

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

nekooei commented Jan 20, 2023

Copy link
Copy Markdown
Author

@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