Scheduling deployments with {Browse.ai, Puppeteer, Selenium}

Hey folks. I’ve seen lots of discussions re: wanting to schedule deployments, and voting up the idea for Bubble HQ. Outside of Flusk, however, I haven’t seen (m)any solutions. Thus, I wanted to offer up this possibly brittle but still workable solution. (My favorite kind :wink: )

Specifically → using Browse.ai to record yourself doing a deployment. Then calling that task via API in the future – at a schedule that works for you and your installed base. Browse.ai will then post an alert via Webhook once the task is done.

A few caveats: 1) The Bubble.io editor is a logged-in service, so you’ll need to be comfortable sharing your credentials (privately) with Browse.ai so their robot can login too; 2) If Bubble meaningfully changes how to deploy wrt steps and/or UI, you’d need to update the Browse.ai bot. 3) Browse.ai is a paid service; however, they offer a free tier that afaict would support ~50 deployments per month using this technique.

More broadly, I’d classify this idea as “web automation,” which includes tech like Puppeteer and Selenium if you wanted to roll your own bot. Nevertheless, Browse.ai makes it pretty easy to record & replay web activity via API.

Hope this helps!

2 Likes