common_browser.browsers.base
One owner for resource lifetime, admission, deadlines and operation receipts.
Classes
BaseBrowser
Bases: ActionsAspect, ReadingAspect, ResourcesAspect, ABC
Ready, unconnected runtime; resource scopes share this single pipeline.
__init__
def __init__(config: BrowserConfig, *, native: Any = None, sink: ArtifactSink | None = None) -> NoneFields and properties declared here; inherited members belong to the bases above.
config
config = configcontexts
Read-only property.
contexts: tuple[Context, ...]default_context
Read-only property.
default_context: Contextinfo
Read-only property.
info: BrowserInfolast_result
last_result: BrowserResult[Any] | None = Noneaclose
async def aclose() -> Nonenew_context
async def new_context(config: ContextConfig | None = None) -> Contextopen
async def open() -> BaseBrowserTypes and values
R
R = TypeVar('R', bound=(Context | Page))T
T = TypeVar('T')