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 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 21:27:05 -08:00
parent fa6efc3775
commit 7b6ff2830c

View File

@@ -641,7 +641,7 @@ Answer:`;
const el = await byTag(field.tag); const el = await byTag(field.tag);
if (!el) continue; if (!el) continue;
await el.fill(String(answer)).catch(() => {}); 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); await this.selectAutocomplete(page, container);
} }
} else if (needsAnswer) { } else if (needsAnswer) {