fix typos
make sure we quit the browser when screenshotting fails