From eb0c0ad71883867ff8a36c3f64b17cd33da48579 Mon Sep 17 00:00:00 2001 From: Dave Roberts Date: Tue, 8 Oct 2024 17:47:17 -0500 Subject: [PATCH] Fix `fill-human-multi` (#684) * Fix fill-human-multi vector case Incorrectly used `fill` rather than `fill-human` in the implementation and didn't pass the options either. * Update CHANGELOG. --- CHANGELOG.adoc | 1 + src/etaoin/api.clj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index fb8a67d..7de28dd 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -22,6 +22,7 @@ A release with an intentional breaking changes is marked with: * Changes ** {issue}676[#676]: Fix new driver creation so that it sidesteps some underlying Firefox race conditions and improves CI test stability. ({person}dgr[@dgr]) ** {issue}679[#679]: Add `new-window` function that exposes WebDriver's New Window endpoint. ({person}dgr[@dgr]) +** {issue}682[#682]: Fixed a bug in `fill-human-multi` to correctly call `fill-human` rather than `fill`. ({person}dgr[@dgr]) == v1.1.42 - 2024-09-27 [[v1.1.42]] diff --git a/src/etaoin/api.clj b/src/etaoin/api.clj index d3c4f59..2addbe3 100644 --- a/src/etaoin/api.clj +++ b/src/etaoin/api.clj @@ -2867,7 +2867,7 @@ (vector? q-text) (if (even? (count q-text)) (doseq [[q text] (partition 2 q-text)] - (fill driver q text)) + (fill-human driver q text opts)) (throw+ {:type :etaoin/argument :message "Vector q-text must have even length" :q-text q-text