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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user