Akeda Bagus

Code wrangler

Simply define and run your flows in browser with simflow — 24 December 2018

Simply define and run your flows in browser with simflow

Most of the time I ended up repeating some flows when interacting with browser. If you’re tired of this, give simflow a try. It’s a CLI tool to define and run your flows with Chrome. Common repeated flows can be something like:

  • Go to internet banking site to download account statement each month.
  • Search image of cat and download them.
  • Test new feature / bug fix in a web project which involves repeated steps (log in, go to blahblahblah, click this, take a screenshot, etc).

With simflow, I define my own flows in JSON config file. Under the hood, it uses puppeteer to drive the browser. But with simflow, you don’t need to code anything. Steps defined in a flow can be as simple as:

[
  "Goto /search",
  "See searchField",
  "Type in searchField cats",
  "Click searchButton"
]

Once defined, run it:

simflow -c config.json

To find out more, see its GH project.

Lisbon Day 4 — 21 July 2018
Lisbon Day 3 — 19 July 2018
Lisbon Day 2 — 18 July 2018
Lisbon Day 1 — 17 July 2018
Guitar Solo Livin’ on a Prayer – Bon Jovi — 11 February 2018
Guitar Solo Broken Heart – White Lion —
Guitar Solo Shine – Collective Soul — 14 January 2018
Guitar Solo Two Princes – Spin Doctors —
Bali GEO — 26 April 2017