How did elizabeth proctor find out about john proctor infidelity?

He told her himself