add concentrated sulfuric acid
Cl: white steamy fumes, test gas with damp blue litmus paper = turns red (HCl)
Br: orange steamy fumes, test gas with filter paper dipped in acidified potassium dichromate solution = turns red/brown (brown gas Br2)
I: purple steamy fumes and black solid (I2) = test gas with filter paper dipped in lead nitrate solution = paper turns black