2018-03-10

Parsing chromedriver logs in Haskell

chromedriver (the tool for programmatic interaction with Chrome) doesn’t have an output format amenable to analysis, so I wrote a Haskell program to convert it to JSON chromedriver-logs, which:

  • Outputs JSON
  • Keeps track of commands and their response times
  • Streams log lines
  • Ignores junk lines