BrowserAgent module data models.
T = TypeVar("T", bound=BaseModel)class ActOptions()Options for configuring the behavior of the act method.
def __init__(self, action: str,
variables: Optional[Dict[str, str]] = None,
use_vision: Optional[bool] = None,
timeout: Optional[int] = None)class ActResult()Result of the act method.
def __init__(self, success: bool, message: str)class ObserveOptions()Options for configuring the behavior of the observe method.
def __init__(self, instruction: str,
use_vision: Optional[bool] = None,
selector: Optional[str] = None,
timeout: Optional[int] = None)class ObserveResult()Result of the observe method.
def __init__(self, selector: str, description: str, method: str, arguments: dict)class ExtractOptions(Generic[T])Options for configuring the behavior of the extract method.
def __init__(self, instruction: str,
schema: Type[T],
use_text_extract: Optional[bool] = None,
use_vision: Optional[bool] = None,
selector: Optional[str] = None,
timeout: Optional[int] = None,
max_page: Optional[int] = 1)Documentation generated automatically from source code using pydoc-markdown.