CUA feature - verification code / 2FA (#2174)
This commit is contained in:
@@ -33,6 +33,7 @@ class ActionType(StrEnum):
|
||||
TYPE = "type"
|
||||
MOVE = "move"
|
||||
DRAG = "drag"
|
||||
VERIFICATION_CODE = "verification_code"
|
||||
|
||||
def is_web_action(self) -> bool:
|
||||
return self in [
|
||||
@@ -293,6 +294,11 @@ class DragAction(Action):
|
||||
path: list[tuple[int, int]] = []
|
||||
|
||||
|
||||
class VerificationCodeAction(Action):
|
||||
action_type: ActionType = ActionType.VERIFICATION_CODE
|
||||
verification_code: str
|
||||
|
||||
|
||||
class ScrapeResult(BaseModel):
|
||||
"""
|
||||
Scraped response from a webpage, including:
|
||||
|
||||
Reference in New Issue
Block a user