Add ability to auto-capture har files

just curious what this particular change does?