How to insert a waitForPageToLoad command

After getting to the 3rd page of a registration app, the script times out.

[INFO] Executing: click | link=Next |

[INFO] Executing: click | id=firstname |

[INFO] Wait until the element is found

[INFO] Wait for the new page to be fully loaded

[ERROR] Implicit Wait timed out after 30000ms

This page is longer than the other pages, so I want to issue a command to wait until the page loads after the click | link=Next command.

Found my answer. Edited the script to look like this. Added the waitForPageToLoad after each link command. Now working fine.

[INFO] Executing: click | link=Next |

[INFO] Executing: waitForPageToLoad | |

[INFO] Executing: click | id=firstname |