Skip to content

feat(notte): add a guide for testing sandbox apps with Notte cloud browsers - #1

Open
giordano-lucas wants to merge 6 commits into
mainfrom
feat/notte-browser-testing
Open

giordano-lucas wants to merge 6 commits into
mainfrom
feat/notte-browser-testing

Conversation

@giordano-lucas

Copy link
Copy Markdown
Member

Description

Adds a runnable Python guide, python/notte/browser-testing, for testing a web app served from a Daytona sandbox with a Notte cloud browser.

The sandbox only serves the app. Chromium runs as a managed Notte session, so the sandbox never installs or launches a browser and makes no outbound calls, which keeps it working under the Tier 1/2 network policy.

  • The sandbox (daytona-small snapshot) serves a small to-do app on port 3000 and exposes it with create_signed_preview_url, so the remote browser needs no auth header.
  • Notte sessions send X-Daytona-Skip-Preview-Warning: true, so the browser lands on the app instead of the preview warning page.
  • Playwright over CDP (session.page from the Notte SDK) reads the to-do list and saves a screenshot.
  • Notte CLI commands (sessions start, page goto, page fill, page click, page scrape) add a to-do and confirm the page shows it.
  • Both browser sessions stop and the sandbox is deleted.

Also adds a row to the Python guides table in the root README.

Dependencies: daytona>=0.220.0,<1.0.0, notte-sdk[playwright]>=1.9.3, python-dotenv, plus the Notte CLI (curl -fsSL https://notte.cc/install-cli.sh | sh).

Related issue(s)

Scope

  • This PR is scoped to a single guide (docs-only or repo-wide changes are fine).
  • The PR title follows Conventional Commits.

Checks

  • I ran the affected guide end to end locally and it works.
  • I updated documentation where relevant.

Legal

🤖 Generated with Claude Code

mislavivanda and others added 6 commits October 7, 2026 22:30
Signed-off-by: Mislav Ivanda <mislavivanda454@gmail.com>
…ytona#26)

Signed-off-by: Mislav Ivanda <mislavivanda454@gmail.com>
daytona#28)

Signed-off-by: Mislav Ivanda <mislavivanda454@gmail.com>
…owsers

Signed-off-by: Lucas Giordano <giordano3102lucas@gmail.com>
Signed-off-by: Lucas Giordano <giordano3102lucas@gmail.com>
Signed-off-by: Lucas Giordano <giordano3102lucas@gmail.com>
@giordano-lucas
giordano-lucas force-pushed the feat/notte-browser-testing branch from 0720e1f to a243be7 Compare October 19, 2026 08:13
@github-actions

Copy link
Copy Markdown

Thank you for your contribution! Before we can merge it, we need you to sign the Daytona Contributor License Agreement. You only need to do this once, and it will cover all of your future contributions to this repository. If you are signing on behalf of an entity (for example, your employer), please also reply with the entity's legal name and your role or title, and confirm that you are authorized to bind it. Please read the CLA and, if you agree, post the following comment on this PR:


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
✅ (mislavivanda)[https://github.com/mislavivanda]
❌ @giordano-lucas
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

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.

2 participants