android-components / mozilla.components.feature.session / SessionUseCases / LoadUrlUseCase / invoke

# invoke

`fun invoke(url: String, session: Session = sessionManager.selectedSessionOrThrow): Unit` (source)

Loads the provided URL using the provided session (or the currently selected session if none is provided).

### Parameters

`url` - url to load.

`session` - the session for which the URL should be loaded.