Download the PHP package coquibot/coqui-toolkit-browser without Composer

On this page you can find all versions of the php package coquibot/coqui-toolkit-browser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package coqui-toolkit-browser

Coqui Browser Toolkit

Browser automation toolkit for Coqui. Wraps playwright-cli to give agents full web browsing capabilities including navigation, page interaction, screenshots, cookie/storage management, and session control.

Requirements

Installation

When installed alongside Coqui, the toolkit is auto-discovered via Composer's extra.php-agents.toolkits -- no manual registration needed.

On first use, the agent will automatically install playwright-cli and Chromium into .workspace/browser/ via the browser_session setup action. No manual Node.js setup is needed.

Tools Provided

browser

Navigate web pages and interact with elements.

Parameter Type Required Description
action enum Yes open, click, dblclick, fill, type, press, keydown, keyup, hover, select, check, uncheck, scroll, drag, upload, back, forward, reload, eval, resize, wait, close
url string No URL for open action
ref string No Element ref from snapshot (for interaction actions)
value string No Value for fill, type, select, eval
key string No Key for press, keydown, keyup (e.g. "Enter", "Tab")
session string No Override session name
headed bool No Show visible browser (default: headless)
browser_engine enum No chromium, firefox, webkit
persistent bool No Use persistent browser profile

browser_capture

Capture page state as snapshots, screenshots, or PDFs.

Parameter Type Required Description
action enum Yes snapshot, screenshot, pdf
ref string No Target element ref
filename string No Output filename (auto-generated if omitted)
session string No Override session name

browser_storage

Manage cookies, localStorage, sessionStorage, and persist browser state.

Parameter Type Required Description
action enum Yes cookie_get, cookie_get_all, cookie_set, cookie_delete, cookie_clear, localstorage_get, localstorage_set, localstorage_delete, localstorage_clear, sessionstorage_get, sessionstorage_set, sessionstorage_delete, sessionstorage_clear, state_save, state_load
name string No Cookie/storage key name
value string No Value for set operations
domain string No Cookie domain
filename string No State filename for save/load
session string No Override session name

browser_session

Manage browser sessions and playwright-cli installation.

Parameter Type Required Description
action enum Yes setup, setup_deps, status, list, close, close_all, kill_all, delete_data
session string No Target session for close/delete_data

Session Management

Sessions are auto-scoped to the workspace using a deterministic hash (coqui-{md5_8chars}). All four tools share the same session by default, so cookies and state persist across tool calls.

Override the session name with the session parameter on any tool to manage multiple independent browser contexts.

Agent Workflow

  1. browser_session action setup -- install playwright-cli (first time only)
  2. browser action open -- navigate to a URL
  3. browser_capture action snapshot -- get the accessibility tree with element refs
  4. browser action click/fill/type -- interact using refs from the snapshot
  5. browser_capture action screenshot -- capture visual output
  6. browser_session action close -- clean up when done

Standalone Usage

Development

Run tests

Static analysis

License

MIT


All versions of coqui-toolkit-browser with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
carmelosantana/php-agents Version ^0.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coquibot/coqui-toolkit-browser contains the following files

Loading the files please wait ...