refactor select2 (#485)

This commit is contained in:
LawyZheng 2024-06-18 11:34:52 +08:00 committed by GitHub
parent b300f9dcf0
commit be86a33c3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 281 additions and 95 deletions

View file

@ -297,3 +297,10 @@ class MissingElementDict(SkyvernException):
class MissingElementInIframe(SkyvernException):
def __init__(self, element_id: str) -> None:
super().__init__(f"Found no iframe includes the element. element_id={element_id}")
class InputActionOnSelect2Dropdown(SkyvernException):
def __init__(self, element_id: str):
super().__init__(
f"Input action on a select element, please try to use select action on this element. element_id={element_id}"
)