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? |
Beta Was this translation helpful? Give feedback.
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
@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