Add ability to auto-capture har files

TE-449 
I think single quote comes before the closing parentheses like
```"explicit') or BOK_CHOY_HAR_MODE='explicit'."```