Sunday 22 December 2019

Task Based Screenshot Exports

Hi Guys,​I've built a task based [screenshot exporter](https://github.com/gs-asrivastav/screenshots-exporter.git) using Puppeteer & Generic Pool. Following are the tasks I've exposed as of now, thinking of extending it to. Table -> Excel/CSV Exports, Export File to Slack etc.TaskTask KeyMount external script fileADD_SCRIPT_FILESet cookiesSET_COOKIESWait for custom/DOM eventsEVENT_WAITCall JS FunctionsFUNCTION_CALLInteract with DOMDOM_INTERACTIONTake screenshot of elementELEMENT_SCREENSHOTTake screenshot of entire viewportVIEWPORT_SCREENSHOTExport viewport as PDFVIEWPORT_PDFNavigate to another URLNAVIGATIONStatic sleep for n millisecondsSLEEPLet me know what you guys think of it.

Submitted December 23, 2019 at 03:55AM by avnsri4986

No comments:

Post a Comment