---
title: "WebPage.JavaScriptPromptResult.ok(_:)"
framework: webkit
role: symbol
role_heading: Case
path: "webkit/webpage/javascriptpromptresult/ok(_:)"
---

# WebPage.JavaScriptPromptResult.ok(_:)

Signals an affirmative action was produced by the invocation with the specified text.

## Declaration

```swift
case ok(String)
```
