Senior police have praised the response of officers who arrested a female learner driver who allegedly fired at police from a car during a pursuit in South Grafton in northern NSW.