I would start with replacing the cap and rotor if they are not new. The plugs might fire while out of the engine, but once under pressure, the fire will go to the path of least resistance. I had a shop tow me a car with this exact problem and the cap was the problem. Could also be the coil.
ASE CERTIFIED MASTER AUTO TECHNICIAN
SERVICE MANAGER FOR 14 BAY FACILITY
MERCEDES SPECIALIST 8 YRS
PARTNER IN MERCEDESSHOP.COM