First off, thank you for this crate. I am new to Rust and saw some different patterns to what I was using in my CLI I have been writing.
Not only that but your thoughtful use of info and debug console writing allowed me to diagnose the issue.
I tried installing the binary on Windows and using it and I received the following error:
Error: HeadlessChromeError("Method call error -32000: Cannot navigate to invalid URL")
Looking at the console output the input file seemed a bit weird:
INFO html2pdf > Input file: file://\?\C:\Users\devon\GitHub\cv\index.html
It seems that using that with the "file://" for headless_chrome is not valid, at least headless_chrome doesn't see it that way.
First off, thank you for this crate. I am new to Rust and saw some different patterns to what I was using in my CLI I have been writing. Not only that but your thoughtful use of info and debug console writing allowed me to diagnose the issue.
I tried installing the binary on Windows and using it and I received the following error:
Looking at the console output the input file seemed a bit weird:
It seems that using that with the "file://" for headless_chrome is not valid, at least headless_chrome doesn't see it that way.