Answer the question
In order to leave comments, you need to log in
How to print footer when generating pdf selenium?
I did not find the necessary information on the Internet, I take pdf pages, along with it I need to take it and the footer says there is a default for this, but how? Code below, tried
"isHeaderFooterEnabled": True,
"footerTemplate":True,
appState = {
"recentDestinations": [
{
"id": "Save as PDF",
"origin": "local",
"account": ""
}
],
"selectedDestinationId": "Save as PDF",
"version": 2
}
profile = {'printing.print_preview_sticky_settings.appState': json.dumps(appState),
'savefile.default_directory': self.pdf_path, # /home/Mirex/PycharmProjects/parser/path_png/pang.pdf
"isHeaderFooterEnabled": True,
"footerTemplate":True,
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question