---
title: goForward()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/webbackforwardlist/goforward()
---

# goForward()

Moves forward one item in the back-forward list.

## Declaration

```swift
func goForward()
```

## Discussion

Discussion This method works by changing the current item to the item that follows it. This method raises an internalInconsistencyException exception if no item follows the current item.

## See Also

### Moving Backward and Forward

- [goBack()](webkit/webbackforwardlist/goback().md)
- [go(to:)](webkit/webbackforwardlist/go(to:).md)
