multiple
This commit is contained in:
@@ -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 }));
|
||||
|
Reference in New Issue
Block a user