fallback to input when input selection failed (#1393)

This commit is contained in:
LawyZheng
2024-12-16 23:34:21 +08:00
committed by GitHub
parent 245cd1ca2f
commit e2f886d9a3
2 changed files with 34 additions and 8 deletions

View File

@@ -545,3 +545,10 @@ class FailedToParseActionInstruction(SkyvernException):
class UnsupportedTaskType(SkyvernException):
def __init__(self, task_type: str):
super().__init__(f"Not supported task type [{task_type}]")
class InteractWithDropdownContainer(SkyvernException):
def __init__(self, element_id: str):
super().__init__(
f"Select on the dropdown container instead of the option, try again with another element. element_id={element_id}"
)