Of course they do! Trains have windshield wipers the same as cars do, and generally speaking, the rain isn't enough to short the electrical motors on their own. The worst case scenario is that if the rains are hurting visibility, the trains might slow down so to not over run a signal.