How to add time in record?

I try to record a test and on run it drops because it takes time for the page to load. Is there a solution to such a problem?