pub async fn wait_for_page(page: &Page) {
    tokio::select! {
        _ = page.wait_for_navigation() => {},
        _ = sleep(Duration::from_secs(5)) => {},
    }
}
Waits for the page to navigate or for 5 seconds to pass.

# Arguments

* `page` - The page to wait for.
src/browser.rs