I have seen the remains of several snakes that got into high voltage.

I had a close encounter with a live copperhead that had crawled into a 4160 volt enclosed outdoor motor control box.
It was laying there quietly, my exposed neck about 10 inches away.
I did not spot it, co-workers behind me did.

After not having good results from a “humane” trap door cage type squirrel trap,
I am now having far better results with a $49 high voltage rodent/squirrel trap.

No visible burn marks, no smell, no vomit.
Peach slices and dry mixed bird seed seem to work better than peanut butter.

Fog and dew will set it off, unfortunately.