---
title: "loadSimulatedRequest(_:withResponseHTML:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkwebview/loadsimulatedrequest(_:withresponsehtml:)"
---

# loadSimulatedRequest(_:withResponseHTML:)

## Declaration

```swift
func loadSimulatedRequest(_ request: URLRequest, withResponseHTML string: String) -> WKNavigation
```

## See Also

### Deprecated

- [certificateChain](webkit/wkwebview/certificatechain.md)
- [closeAllMediaPresentations()](webkit/wkwebview/closeallmediapresentations().md)
- [loadSimulatedRequest(_:with:responseData:)](webkit/wkwebview/loadsimulatedrequest(_:with:responsedata:).md)
