Monitoring Dynamic alerts on Chrome

HI,
I am trying to monitor alerts that appears on chrome and also the have script alerts (unexpected ) while running the entire test suite . Please can anyone help me on this regard ?

Thanks
Fredrick