At the close of Act 2, Proctor—now implicated via Elizabeth's arrest—resolves to testify against Abigail and expose her fraud, even though:
Mary Warren's confession catalyzes his decision. He chooses moral action over self-preservation, knowing the cost may be his life.