> ## Documentation Index
> Fetch the complete documentation index at: https://browseruse-0aece648-magnus-streaming-api-link.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Follow-up tasks

> Run multiple tasks in the same browser session.

<CodeGroup>
  ```python Python theme={null}
  from browser_use_sdk.v3 import AsyncBrowserUse

  client = AsyncBrowserUse()

  session = await client.sessions.create()

  result1 = await client.run(
      "Log into example.com with user@test.com",
      session_id=str(session.id),
      keep_alive=True,
  )
  result2 = await client.run(
      "Now go to settings and change the timezone",
      session_id=str(session.id),
  )

  await client.sessions.stop(str(session.id))
  ```

  ```typescript TypeScript theme={null}
  import { BrowserUse } from "browser-use-sdk/v3";

  const client = new BrowserUse();

  const session = await client.sessions.create();

  const result1 = await client.run("Log into example.com with user@test.com", {
    sessionId: session.id,
    keepAlive: true,
  });
  const result2 = await client.run("Now go to settings and change the timezone", {
    sessionId: session.id,
  });

  await client.sessions.stop(session.id);
  ```
</CodeGroup>

Use `keep_alive: true` to keep the session running after a task completes. Without it, the session auto-stops when the task finishes.
