diff --git a/.gitignore b/.gitignore index ea37417..79c10e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -steps.sh +/steps.sh /cremote /cremotedaemon +/mcp/cremote-mcp diff --git a/daemon/daemon.go b/daemon/daemon.go index ad3f860..5b212ef 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -3493,7 +3493,7 @@ func (d *Daemon) interactMultiple(tabID, interactionsJSON string, timeout int) ( case "select": // For select elements, set the value using JavaScript - script := fmt.Sprintf("this.value = '%s'; this.dispatchEvent(new Event('change', { bubbles: true })); true", interaction.Value) + script := fmt.Sprintf("(this.value = '%s', this.dispatchEvent(new Event('change', { bubbles: true })), true)", interaction.Value) result, err := element.Eval(script) if err != nil { interactionResult.Error = fmt.Sprintf("failed to select option: %v", err) diff --git a/mcp/cremote-mcp b/mcp/cremote-mcp deleted file mode 100755 index 935c2c9..0000000 Binary files a/mcp/cremote-mcp and /dev/null differ