ALWAYS open the bleeder when spreading the caliper to slide it off the
rotor. You do not want the brake fluid that is in the caliper going up the
lines into the master cylinder, worse yet going into the ABS pump.
Brake pad instruction guide BrakePads.pdf
The sensor wire is held in place on top of the pads using a retainer clip. It can be a bit of a hassle to undo the sensor wire, but some do not know that the part on the right of the picture below can be un-clipped and the left part then moves up/down over the big spring that holds the pads down. This way the wire is freed easily without fear of damaging the wire.