NTXM Logo

NTXM Browser vs Playwright for AI agents

Playwright is the standard way to script a browser. NTXM Browser is a desktop browser that an agent can drive over plain HTTP. Here is when to use which.

2 min readNTXM Browser Mini

On this page

If you want an AI agent to use websites, the usual answer is Playwright. It is a great tool. It is also a code library: you write a script, it starts a browser, and the agent needs that script around it.

NTXM Browser takes a different path.

What Playwright does well#

  • The standard choice for automated browser tests.
  • Works with several browsers and many languages.
  • Full control from code.

What NTXM Browser does#

NTXM Browser Mini is a desktop browser built on Chromium that you keep open on your computer. It has a small HTTP contract at /v1, so any agent or script that can send a web request can use it:

  • Observe: get a short map of the page instead of the full HTML or a screenshot.
  • Act: click or type on an element by its short id.
  • Extract: get the data back as JSON.

Your browser session stays on your machine. An experimental MCP endpoint is there too, but /v1 is the main way in.

Side by side#

PlaywrightNTXM Browser
What it isCode library and driverDesktop browser with an HTTP API
How you use itWrite a scriptSend HTTP requests to /v1
What the agent seesWhatever you codeShort page map, ids, JSON
Best forTests and fixed scriptsAgents using a live session
PlatformsManyWindows 10/11, macOS

Which to use#

Use Playwright for test suites. Use NTXM Browser when you want an agent to work in a real browser window you can watch, through simple HTTP calls.

Learn more about NTXM Browser

Frequently asked questions

Is NTXM Browser a replacement for Playwright?

Not for testing. Playwright is the standard driver for scripted tests. NTXM Browser is a running desktop browser with a small HTTP contract that an agent can use.

How does an agent control NTXM Browser?

Over HTTP at /v1 on your own computer: it asks for a short map of the page, acts on elements by a short id, and pulls out data as JSON.

Which systems does it run on?

NTXM Browser Mini 0.1.3 is a free download for Windows 10/11 and macOS.

  • playwright alternative
  • browser automation
  • ai agents

← Back to all posts