Skip to main content
This method sends a start request to the API and logs the session ID and request details upon successful start. Example:
from notte_sdk import NotteClient

client = NotteClient()
session = client.Session()
session.start()
Note that we strongly recommend using the with statement to start and stop the session to avoid any issues with session cleanup.
Example:
from notte_sdk import NotteClient

client = NotteClient()
with client.Session() as session:
    session.execute({"type": "goto", "url": "https://www.notte.cc"})

Parameters

tries
int
default:"3"

Returns

None

Raises

  • ValueError: If the session request is invalid.
I