Fields
str
required
The ID of the session (created or existing). Use this ID to interact with the session for the next operation.
int
required
Session idle timeout in minutes. Will timeout if now() > last access time + idle_timeout_minutes
int
default:"15"
Session max duration in minutes. Will timeout if now() > creation time + max_duration_minutes
datetime
required
Session creation time
UnionType[datetime, None]
Session closing time
datetime
required
Last access time
timedelta
required
Session duration
Literal['active', 'closed', 'error', 'timed_out']
required
Session status
Literal['manual', 'idle_timeout', 'max_duration', 'error', 'unknown'] | None
Reason the session closed, if it is no longer active
list[Dict[str, Any]]
required
Steps of the session
UnionType[str, None]
Error message if the operation failed to complete
bool
default:"False"
Whether proxies were used for the session. True if any proxy was applied during session creation.
Literal['chromium', 'chrome', 'firefox', 'chrome-nightly', 'chrome-turbo']
default:"chromium"
bool
default:"False"
Whether FileStorage was attached to the session.
int
default:"0"
Total byte usage for network requests.
int
default:"0"
Total byte usage for network responses.
UnionType[str, None]
The user agent to use for the session
UnionType[int, None]
The width of the viewport
UnionType[int, None]
The height of the viewport
bool
default:"True"
Whether to run the session in headless mode.
UnionType[bool, None]
Whether to solve captchas.
UnionType[str, None]
The URL to connect to the CDP server.
UnionType[str, None]
The remote session viewer URL.
bool
default:"False"
Whether to use web bot authentication.
list[str]
default:"[]"
Managed Auth connection IDs attached to this session.
Whether this session is an internal system run. Internal system runs are omitted from session.list() unless include_system=True is requested.
Module
notte_sdk.types
