capture Safari and run the tests