Except in actions to which a minor or an incapacitated person is a party and in actions for wrongful death in which a minor or incapacitated person has an interest, verdicts and non-suits, and judgments by agreement may be entered at any time but only upon written stipulation signed by the parties or by their counsel of record and filed in the case.
Merc. Cnty. Pa. 316.1