From 7b6ff2830ce99cd033d286e46bf7cd45f4ee6fd7 Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Fri, 6 Mar 2026 21:27:05 -0800 Subject: [PATCH] Trigger autocomplete selection for country fields Country inputs on Greenhouse use React Select comboboxes that need option click after typing. Add 'country' to the autocomplete trigger list alongside city/location. Co-Authored-By: Claude Opus 4.6 --- lib/form_filler.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/form_filler.mjs b/lib/form_filler.mjs index 6808dc7..e01e66e 100644 --- a/lib/form_filler.mjs +++ b/lib/form_filler.mjs @@ -641,7 +641,7 @@ Answer:`; const el = await byTag(field.tag); if (!el) continue; await el.fill(String(answer)).catch(() => {}); - if (ll.includes('city') || ll.includes('location') || ll.includes('located')) { + if (ll.includes('city') || ll.includes('location') || ll.includes('located') || ll.includes('country')) { await this.selectAutocomplete(page, container); } } else if (needsAnswer) {