Hi Paulina,
Actually, it would be correct to use the verb "esperar" with "por" to express the duration and with the same meaning as "durante".
Example: Esperé por (durante) dos horas en la estación de tren.
Although the sentence above is correct, it is also very common to use esperar without preposition to express the duration.
Example: 1. Esperé dos horas en la estación. 2: Espera un momento, enseguida vuelvo.
I hope it was helpful,
Rocio