Skip to content

docs(py): add sandbox browser noVNC example#2904

Draft
Ramon Nogueira (ramon-langchain) wants to merge 1 commit into
mainfrom
ramonn/browser-novnc-playwright-example
Draft

docs(py): add sandbox browser noVNC example#2904
Ramon Nogueira (ramon-langchain) wants to merge 1 commit into
mainfrom
ramonn/browser-novnc-playwright-example

Conversation

@ramon-langchain
Copy link
Copy Markdown
Member

Summary

Adds a runnable Python example showing how to start Chrome inside a LangSmith sandbox, expose it through noVNC, and connect local Playwright to the same browser instance over CDP.

The example caches browser dependencies in a reusable sandbox snapshot, logs browser navigation/click/input events, supports terminal controls for quitting and ARIA snapshots, and keeps the sandbox alive until the user exits.

Test Plan

  • uv run python -m py_compile examples/sandbox_chrome_novnc_playwright.py
  • uv run ruff check examples/sandbox_chrome_novnc_playwright.py
  • Ran the example locally and verified noVNC, CDP connection, and page navigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant