support react select (#652)

This commit is contained in:
LawyZheng
2024-07-27 01:32:35 +08:00
committed by GitHub
parent be75055fd8
commit 1629d84375
5 changed files with 197 additions and 0 deletions

View File

@@ -499,6 +499,12 @@ async def handle_select_option_action(
action=action,
)
select_framework = await skyvern_element.get_select2_dropdown()
if await skyvern_element.is_react_select_dropdown():
LOG.info(
"This is a react select dropdown",
action=action,
)
select_framework = await skyvern_element.get_react_select_dropdown()
if select_framework is not None:
timeout = SettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS