Wait for the PDF to be loaded before doing anything
What does this MR do?
Adds a wait type function to wait until the Vue app is complete loading. Previously the code worked fine locally, but CI is slower.
What are the relevant issue numbers?
Closes #30531 (closed)