chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / navigateAndWaitLoading

navigateAndWaitLoading

suspend fun PageDomain.navigateAndWaitLoading(url: String): Unit

Navigates the current page according to the provided url, and suspends until the corresponding frameStoppedLoading event is received.

suspend fun PageDomain.navigateAndWaitLoading(navigateRequest: NavigateRequest): Unit

Navigates the current page according to the provided navigateRequest, and suspends until the corresponding frameStoppedLoading event is received.