---
title: "load(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webpage/load(_:)-32ngj"
---

# load(_:)

Navigates to an item from the back-forward list and sets it as the current item.

## Declaration

```swift
@discardableResult @MainActor final func load(_ item: WebPage.BackForwardList.Item) -> some AsyncSequence<WebPage.NavigationEvent, any Error>

```

## Parameters

- `item`: The item to navigate to. The item must be in the webpage’s back-forward list.

## Return Value

Return Value An async sequence you use to track the loading progress of the navigation. If the Task enclosing the sequence is cancelled, the page will stop loading all resources.

## See Also

### Loading web content

- [load(_:)](webkit/webpage/load(_:)-7kw3h.md)
- [load(_:)](webkit/webpage/load(_:)-8wfiq.md)
- [load(_:mimeType:characterEncoding:baseURL:)](webkit/webpage/load(_:mimetype:characterencoding:baseurl:).md)
- [load(html:baseURL:)](webkit/webpage/load(html:baseurl:).md)
- [load(simulatedRequest:responseHTML:)](webkit/webpage/load(simulatedrequest:responsehtml:).md)
- [load(simulatedRequest:response:responseData:)](webkit/webpage/load(simulatedrequest:response:responsedata:).md)
- [isLoading](webkit/webpage/isloading.md)
- [estimatedProgress](webkit/webpage/estimatedprogress.md)
