Session
Get started
Creating and using a browsing session
Sessions provide a context manager for browser automation:
Usage
See more operations on sessions:
Scrape
Get the relevant information from a page
Observe
Retrieve information and available actions on a page
Step
Take action on a page
Parameters
You can use the default parameters to create your session, or customize them:
Whether to run the session in headless mode.
Session timeout in minutes. Cannot exceed the global timeout.
proxies
list[typing.Annotated[notte_sdk.types.NotteProxy | notte_sdk.types.ExternalProxy, FieldInfo(annotation=NoneType, required=True, discriminator='type')]] | bool
List of custom proxies to use for the session. If True, the default proxies will be used.
The browser type to use. Can be chromium, chrome or firefox.
The user agent to use for the session
Overwrite the chrome instance arguments
The width of the viewport
The height of the viewport