Only call delete_all_cookies() if running Selenium