---
title: WebPage.FileInputPromptResult
framework: webkit
role: symbol
role_heading: Enumeration
path: webkit/webpage/fileinputpromptresult
---

# WebPage.FileInputPromptResult

The result of handling a JavaScript open invocation.

## Declaration

```swift
enum FileInputPromptResult
```

## Topics

### Enumeration Cases

- [WebPage.FileInputPromptResult.cancel](webkit/webpage/fileinputpromptresult/cancel.md)
- [WebPage.FileInputPromptResult.selected(_:)](webkit/webpage/fileinputpromptresult/selected(_:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Customizing JavaScript dialogs

- [WebPage.DialogPresenting](webkit/webpage/dialogpresenting.md)
- [WebPage.JavaScriptConfirmResult](webkit/webpage/javascriptconfirmresult.md)
- [WebPage.JavaScriptPromptResult](webkit/webpage/javascriptpromptresult.md)
