Using print dialog #343
|
I'm with osx Monterey and chrome and I was able to trigger the printing dialog with: after trying to trigger through keyboard combination, without success. I tried to print to pdf with: and although I've increased the timeout, that's still the error I receive. Any thought on how to use the printing dialog windows? |
Answered by
carlagomesah
Mar 26, 2023
Replies: 2 comments 7 replies
|
What is the main goal you are trying to achieve? You don't write code to write code right :)? You want to save page as pdf? |
1 reply
|
That's not a screenshot as it has lots of options https://github.com/rubycdp/ferrum#pdfoptions--string--boolean check native options as well, printBackground etc. |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@route Ok, so maybe that's why I'm not able to make this work. In the end, for this particular case, after some compromise to accept what I was able to get, I'm using
browser.pdf