Skip to content

url

abstract val url: String

The committed URL, the one useWebViewState reports; empty before the first commit and after the attach ended.

Inside onDocumentEnd it is still the page that ended. With WebView 146 and later, onPageStarted comes after the commit that ends the Document, so url is already the new page there.