Szpadel/chrome-headless-render-pdf

Problem with URL Parameters

Closed this issue · 1 comments

If I try to pass in a url with parameters i'm getting error...

for example:
chrome-headless-renderer-pdf --url https://sample.com/somepage.asp?x=234x3456&someVar=3&anotherVar=888

I get a message saying that "someVar" is not recognizable as an internal or external command

Any way around that?

found solution... surround URL in question with quotes.