Add ability to auto-capture har files

TE-449 
BTW an environment var in jenkins sounds fine