---
title: "execCommand(_:userInterface:value:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domdocument/execcommand(_:userinterface:value:)"
---

# execCommand(_:userInterface:value:)

## Declaration

```swift
func execCommand(_ command: String!, userInterface: Bool, value: String!) -> Bool
```
