mind2web
This commit is contained in:
parent
2b5d923f63
commit
98d5e90894
754 changed files with 1175740 additions and 142424 deletions
23
stuff/StepTrace.py
Normal file
23
stuff/StepTrace.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@dataclass
|
||||
class StepTrace:
|
||||
step_no: int
|
||||
timestamp: float
|
||||
|
||||
thought: Optional[str]
|
||||
|
||||
action_type: str
|
||||
action_target: Optional[str]
|
||||
action_value: Optional[str]
|
||||
|
||||
url_before: Optional[str]
|
||||
url_after: Optional[str]
|
||||
|
||||
screenshot_before: Optional[str]
|
||||
screenshot_after: Optional[str]
|
||||
|
||||
success: bool
|
||||
error: Optional[str] = None
|
||||
Loading…
Add table
Add a link
Reference in a new issue