diff --git a/src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs b/src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs index f0d58fd..c36e14f 100644 --- a/src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs +++ b/src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs @@ -7,7 +7,7 @@ internal class SendKeysToElementExecutor : CommandExecutorBase protected override string DoImpl() { var registeredKey = this.ExecutedCommand.Parameters["ID"].ToString(); - var text = this.ExecutedCommand.Parameters["value"].First.ToString(); + var text = string.Join(string.Empty, this.ExecutedCommand.Parameters["value"]); var element = this.Automator.Elements.GetRegisteredElement(registeredKey); element.SetText(text);