Problem finding electrical short

The headlight dimmer switch switches the headlight power between high and lo beams. It also mounted on floor, sometimes it fails, and a short to ground happens. As a second check, disconnect the switch 3 wire cable and see if short goes away.