In The Frog King or Iron Heinrich by the Brothers Grimm, the princess meets the frog after getting lost in the forest.