window.printHtml() dont work #120
Unanswered
pedro-beemon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
please provide the full code you've used. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, my site use a click button with 'window.printHtml()'
And this use a popup to save the pdf on my folder.
So on
HEADLESS=NEW
, dont work.ON
HEADLESS=FALSE
ITS WORKS.i try some things (dont work):
1
self.driver.execute_script('window.printHtml()')
2 add prefs:
3 add options
options.add_argument('--kiosk-printing')
please, some ideas and help
Beta Was this translation helpful? Give feedback.
All reactions