Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
c22dad2b
Commit
c22dad2b
authored
Jan 13, 2021
by
Christophe Benz
Browse files
Let puppeteer wait for requests to finish
parent
72d49e12
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/pdf_renderer.py
View file @
c22dad2b
...
...
@@ -50,6 +50,9 @@ class BrowserlessPDFRenderer(PDFRenderer):
"printBackground"
:
False
,
"format"
:
"A4"
,
},
"gotoOptions"
:
{
"waitUntil"
:
"networkidle0"
,
},
}
log
.
info
(
"BrowserlessPDFRenderer.render: about to send a POST request to "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment