Danforth wanted to believe everything about the witches and that Mary was a witch because Abigail convince him to believe that.
Abigail like always was lying. She did not care if other people would die she wanted to save her self and she kept lying.
Mary started saying the truth in the beginning of act 3, but Abigail and the lies she said made her just say that she is a witch because she wanted to say the truth but they didn't believe her
The court trial starts interrogating Martha Cory, then they bring up Mary. Mary confesses that she and the girls where pretending but never saw no spirits, she says that Abigail is lying. Abigail was question too but she kept on lying and she said that Mary is the one controlling them. Proctor confesses about having an affair with Abby but they don't believe him because they asked questions to Elizabeth and she lie because she wanted to protect Proctor. At the end of the court Mary says that she is a witch and that Proctor is the devil telling her what to do.
Parris tries to be part of the deputy in court. Parris does not believe Proctor and says that Proctor and Mary wants to overthrow the court. Parris tries to influence Danforth because he wants go get more power.
Proctor was trying to say the truth so he could be able to safe his wife. He confess of having an affair with Abigail but Danforth didn't believe him because he asked Elizabeth and she lie because she wanted to protect Proctor.