When providing browserEndpoint option, pagedJS correctly connects to it
Issue https://gitlab.pagedmedia.org/tools/pagedjs-cli/issues/42.
- Passing
browserEndpoint
from command line args to Printer - If the browser is remote, don't send an HTML file to it, but its content.
- If browser is remote, use
puppeteer.connect
instead ofpuppeteer.launch