fix automatic download selenium bug