Dify Cloud Browser for persistent workflows

Run Dify workflow steps in a persistent Chrome browser. Install Cloudbrowser from Dify Marketplace, authorize it with a scoped API token, then select a running browser in your workspace. Your workflow can open a page, read it, or capture a screenshot while you follow the same Chrome desktop in Live View.

Requires a Dify workspace and a Cloudbrowser account. Hosted browser tools currently open pages on cloudbrowser.tv.

Cloudbrowser Console

Illustrative Cloudbrowser console showing four independent Chrome browsers
Illustrative console preview. Each workflow can select a Chrome from this workspace and return its Live View URL.

How to use a cloud browser in Dify

  1. Install Cloudbrowser

    Open the Cloudbrowser Marketplace listing, choose Install, and select your Dify workspace.

  2. Prepare your Chrome

    Open the Cloudbrowser Console, create or resume a browser, and copy its browser ID from the Console URL. In API Tokens, create a token with browsers:read and browsers:operate.

  3. Authorize the Dify tool

    Open Integrations → Tools → Tool Plugin in Dify. Find Cloudbrowser and use its credential settings to save the API token.

  4. Select the browser

    In a Workflow, add Cloudbrowser’s Select browser Tool node and enter the browser ID. This step returns browser_session and live_view_url.

  5. Open and read a page

    Add Open page, then Read page. Set Page URL to https://cloudbrowser.tv/docs/cli and bind both Browser session inputs to Select browser → browser_session.

  6. Check the result

    Add Disconnect tools with the same session, then return Read page → text and Select browser → live_view_url from an Output node. Run the workflow and look for CLI reference. Open Live View to confirm the same page is in Chrome.

Dify cloud browser questions

Can I install Cloudbrowser on self-hosted Dify?

The plugin declares Dify 1.11.0 as its minimum version. Your workspace needs permission to install Marketplace plugins, and the plugin runtime needs HTTPS access to cloudbrowser.tv.

Why does Dify reject my Cloudbrowser API token?

Check that the token is active and stored in the Cloudbrowser tool’s credential field. Use browsers:read to list browsers and browsers:operate to select and control one. See the API token guide for scopes and expiry.

How do I pass the browser session to a later node?

Set the later node’s Browser session input to Select browser → browser_session. Run the browser nodes in sequence. Keep the session value inside the workflow and return the live_view_url when someone needs to see the desktop.

Can I use the same Chrome in the next workflow run?

Yes. Run Select browser again with the same browser ID. The Chrome profile retains saved site data, subject to each website’s session rules. Resume the browser in the Console first if it is paused.

Which websites can the Dify plugin open?

The hosted Cloudbrowser tools currently allow navigation to https://cloudbrowser.tv. Use an enabled page such as https://cloudbrowser.tv/docs/cli for the first run. The Cloudbrowser MCP guide explains the destination limit and connection options.

How do I return a screenshot from a workflow?

Add Capture page screenshot after your browser steps and pass its files output to an Output node. A screenshot captures the web page. Use Live View to see Chrome’s tabs, address bar, and desktop.

Keep Chrome ready for the next run

Reuse a profile across runs

The browser ID identifies the Chrome profile in your workspace. Each workflow run selects that ID and gets a fresh tool session. Keep the selection within one run and use it for sequential browser steps.

When a connection idles or a browser restarts, select it again before continuing. Use a fresh page snapshot before clicking. Element references correspond to the page that the tool just read.

Watch or take over the same desktop

Open the authenticated Live View URL to see what your workflow did. You can inspect the tab, continue manually, or enter credentials directly in Chrome when a supported page needs your input.

Give independent workflows separate browsers when they need their own tabs and profiles. To pause, resume, restart, or fork from Dify, authorize browsers:manage and use Manage browser.

Try the Chrome desktop

Open a temporary Chrome in the Playground to see the desktop experience before connecting a Dify workspace. For other ways to connect, browse Cloudbrowser integrations.

Open Playground