ifx chain click bug (#576)

This commit is contained in:
LawyZheng
2024-07-11 02:45:13 +08:00
committed by GitHub
parent da66d66132
commit 0ddda3f481
2 changed files with 23 additions and 2 deletions

View File

@@ -421,3 +421,10 @@ class FailedToGetCurrentValueOfDropdown(SkyvernException):
class HttpException(SkyvernException):
def __init__(self, status_code: int, url: str, msg: str | None = None) -> None:
super().__init__(f"HTTP Exception, status_code={status_code}, url={url}" + (f", msg={msg}" if msg else ""))
class WrongElementToUploadFile(SkyvernException):
def __init__(self, element_id: str):
super().__init__(
f"No file chooser dialog opens, so file can't be uploaded through element {element_id}. Please try to upload again with another element."
)