added page capture more tests and debugging reponse