Simple microservice for generating screehshots or pdf from some website.
GET /api/export/screehshot
GET /api/export/pdf
url (required) url to open
indicatorVariable (optional) global variable, which indicates that page is loaded.
E.g. document.pageLoaded (webpage should set document.pageLoaded = true to make this work)
delaySeconds (default = 0) additional delay after the page is loaded (executed after indicatorVariable if it's provided)
width (required) browser width
height (required) browser height