Developer

Playwright (Local)

Install and use pinned Chromium on your project runner.

Explore 11 capabilities ↓

What you can build

  • Check a development preview from a project action
  • Interact with page elements and capture a PNG screenshot

Access and credentials

Downloads Playwright's pinned Chromium into project runner storage. Opens websites from the runner, can submit forms and returns selected page content and screenshots to OrgSDK. Each action opens a fresh browser profile and composes individual page operations.

This plugin does not declare a stored credential requirement.

Example action

Install Chromium on the project runner

Use this call in a saved OrgSDK action after enabling the plugin.

return await playwrightLocal.installBrowser({});

Use with OrgSDK

OrgSDK gives external AI clients persistent projects and controlled execution. Plugins add optional tools to those projects. Each run uses pinned plugin versions, and project configuration determines which credentials they can use.

Set up OrgSDK locally ↗

The plugin’s toolkit

Capabilities

11 functions from this published version. Read calls retrieve or process information; write actions can change data in the connected service.

11 of 11 functions

Check whether pinned Chromium is installed for this project runner.

Parameters and return value

This call takes no parameters.

Returns Promise<{ browser: string; playwrightVersion: string; installed: boolean }>

Download this plugin's pinned Chromium into project runner storage. Run once per project runner before browser automation.

Parameters and return value

This call takes no parameters.

Returns Promise<{ browser: string; playwrightVersion: string; installed: boolean }>

Open a blank page in a fresh Chromium profile for this action. Close it with closePage when finished.

Parameters and return value
ParameterTypeDetails
viewportOptional{ width: number; height: number }Viewport in CSS pixels. Defaults to 1280 × 720.

Returns Promise<null>

Navigate the open page to an HTTP(S) URL.

Parameters and return value
ParameterTypeDetails
urlstringHTTP(S) URL reachable from the project runner.

Returns Promise<{ url: string; status: number | null }>

Click the element matching a Playwright selector.

Parameters and return value
ParameterTypeDetails
selectorstringPlaywright selector for the target element.

Returns Promise<null>

Replace the value of an editable field.

Parameters and return value
ParameterTypeDetails
selectorstringPlaywright selector for the target element.
valuestringValue to enter.

Returns Promise<null>

Wait until the element matching a selector is visible.

Parameters and return value
ParameterTypeDetails
selectorstringPlaywright selector for the target element.

Returns Promise<null>

Read the rendered text of the matching element, up to 1,000 characters.

Parameters and return value
ParameterTypeDetails
selectorstringPlaywright selector for the target element.

Returns Promise<string>

Read the current page title and URL.

Parameters and return value

This call takes no parameters.

Returns Promise<{ url: string; title: string }>

Capture the current viewport as a base64-encoded PNG.

Parameters and return value

This call takes no parameters.

Returns Promise<string>

Close the current page and discard its Chromium profile.

Parameters and return value

This call takes no parameters.

Returns Promise<null>