A simple basic application that can send screenshots of URIs to Slack by schedule
Here is the example config for uri-sender.
{
"notifiers": [
{
"type": "slack",
"recipients": ["@artemlive"],
"message": "<https://www.google.com/search?q=test|Google search test>",
"slack_api_key": "",
"cron": "*/1 * * * *",
"screenshot": {
"url": "https://www.google.com/search?q=test",
"htmlElement": "",
"wait": 10,
"outPath": ".test/screenshots"
}
}
]
}
You can define slack api_key directly through the config or using the SLACK AUTH TOKEN ENV variable. If both of them are defined config-defined variable has more priority.
Here is the example of the message generated by the above config: