Skip to content

Latest commit

 

History

History
99 lines (67 loc) · 1.72 KB

File metadata and controls

99 lines (67 loc) · 1.72 KB

Browser Agent Models API Reference

BrowserAgent module data models.

T

T = TypeVar("T", bound=BaseModel)

ActOptions

class ActOptions()

Options for configuring the behavior of the act method.

init

def __init__(self, action: str,
             variables: Optional[Dict[str, str]] = None,
             use_vision: Optional[bool] = None,
             timeout: Optional[int] = None)

ActResult

class ActResult()

Result of the act method.

init

def __init__(self, success: bool, message: str)

ObserveOptions

class ObserveOptions()

Options for configuring the behavior of the observe method.

init

def __init__(self, instruction: str,
             use_vision: Optional[bool] = None,
             selector: Optional[str] = None,
             timeout: Optional[int] = None)

ObserveResult

class ObserveResult()

Result of the observe method.

init

def __init__(self, selector: str, description: str, method: str, arguments: dict)

ExtractOptions

class ExtractOptions(Generic[T])

Options for configuring the behavior of the extract method.

init

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)

See Also


Documentation generated automatically from source code using pydoc-markdown.