From 89addac0fd6ec7b62235e271ca4b8b764ce27d6c Mon Sep 17 00:00:00 2001 From: Josh at WLTechBlog Date: Mon, 18 Aug 2025 15:29:55 -0500 Subject: [PATCH] multiple --- daemon/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.go b/daemon/daemon.go index 198c96c..bf0d2c1 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -3499,7 +3499,7 @@ func (d *Daemon) interactMultiple(tabID, interactionsJSON string, timeout int) ( // If text selection failed, the value might be the actual option value // Try to find and select by matching option value using page.Eval to avoid element.Eval issues script := fmt.Sprintf(` - const element = document.querySelector("%s"); + var element = document.querySelector("%s"); if (element) { element.value = "%s"; element.dispatchEvent(new Event('change', { bubbles: true }));