---
title: SFSafariPage
framework: safariservices
role: symbol
role_heading: Class
path: safariservices/sfsafaripage
---

# SFSafariPage

A proxy for a Safari webpage.

## Declaration

```swift
class SFSafariPage
```

## Overview

Overview Use an SFSafariPage object in your Safari app extension to send messages to injected content scripts, access page properties, and reload the page.

## Topics

### Messaging Injected Scripts

- [dispatchMessageToScript(withName:userInfo:)](safariservices/sfsafaripage/dispatchmessagetoscript(withname:userinfo:).md)

### Getting Page Information

- [getPropertiesWithCompletionHandler(_:)](safariservices/sfsafaripage/getpropertieswithcompletionhandler(_:).md)

### Reloading the Page

- [reload()](safariservices/sfsafaripage/reload().md)

### Instance Methods

- [getContainingTab(completionHandler:)](safariservices/sfsafaripage/getcontainingtab(completionhandler:).md)
- [getScreenshotOfVisibleArea(completionHandler:)](safariservices/sfsafaripage/getscreenshotofvisiblearea(completionhandler:).md)

### Initializers

- [init(coder:)](safariservices/sfsafaripage/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Safari app extensions

- [Safari app extensions](safariservices/safari-app-extensions.md)
- [SFSafariExtension](safariservices/sfsafariextension.md)
- [SFSafariApplication](safariservices/sfsafariapplication.md)
- [SFSafariWindow](safariservices/sfsafariwindow.md)
- [SFSafariTab](safariservices/sfsafaritab.md)
