sending /done to server even when error occurs in browser tests