Close all browser windows before starting to record a script.