power window on 1996 Toyota Corolla

the driver power window stopped working without notice. Today I opened it to take a ticket from the machine and was unable to get window closed. I heard no noise at all. The other windows are still working.

Asked by for the 1996 Toyota Corolla
You either have a bad window motor or switch. Most likely the motor
Today the window started working again. Does that help tell if it was the motor or switch? Thanks....