Yes, you can use Windex to clean your solar panels, but not a lot of Windex. You know that Windex is a glass and surface cleaner made of chemicals, and hot solar panels can create bubbles after getting this cleaning liquid.  It is better to use soapy water and a sponge to clean your solar panels.