fixed a little bug, code from the teacher did not result a error on selenium test errors, changed to use mvn verify.