Adds wait before quiting the browser.