Fix press Enter clearing text on Google search (#4718)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
pedrohsdb
2026-02-12 12:33:33 -08:00
committed by GitHub
parent d876862730
commit 9f5ce2878f
3 changed files with 22 additions and 1 deletions

View File

@@ -1512,7 +1512,12 @@ async def handle_input_text_action(
raise e
finally:
# HACK: force to finish missing auto completion input
if auto_complete_hacky_flag and await skyvern_element.is_visible() and not await skyvern_element.is_raw_input():
if (
auto_complete_hacky_flag
and await skyvern_element.is_visible()
and not await skyvern_element.is_raw_input()
and not action.skip_auto_complete_tab
):
LOG.debug(
"Trigger input-selection hack, pressing Tab to choose one",
action=action,