Test alerts on html pages