Should I wait patiently if the professor asked me to wait for a few weeks?
she has to think about grants and funding as she will be taking a couple of postdocs. After waiting for one month, she requested to wait for a few more months for her to be certain.

This professor seemingly has no money to hire you. You should look elsewhere, whilst maintaining contact. If she gets money, it seems you are amongst those she'll consider hiring.