From 6465ae9eaee247f49962c726ff6c2bbf2c19363b Mon Sep 17 00:00:00 2001 From: Uunnamed Date: Tue, 11 Aug 2020 16:21:31 +0300 Subject: [PATCH] add click on field to fill-human --- src/etaoin/api.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/etaoin/api.clj b/src/etaoin/api.clj index 9f26ca9e..aaf0a76e 100644 --- a/src/etaoin/api.clj +++ b/src/etaoin/api.clj @@ -2504,6 +2504,8 @@ rand-char (fn [] (-> 26 rand-int (+ 97) char)) wait-key (fn [] (wait (min (rand) pause-max)))] + (click-el driver el) + (wait-key) (doseq [key text] (when (< (rand) mistake-prob) (fill-el driver el (rand-char))