<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebExtensionController/load(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebExtensionController(im)loadExtensionContext:error:"
  },
  "title" : "load(_:)"
}
-->

# load(_:)

Loads the specified extension context.

```
func load(_ extensionContext: WKWebExtensionContext) throws
```

## Discussion

Causes the context to start, loading any background content, and injecting any content into relevant tabs.

## See Also

[`load(_:)`](/documentation/WebKit/WKWebExtensionController/load(_:))

Loads the specified extension context.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)