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
playwrightLocal.browserStatus
Read callCheck 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 }>
playwrightLocal.installBrowser
Write actionDownload 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 }>
playwrightLocal.openPage
Write actionOpen a blank page in a fresh Chromium profile for this action. Close it with closePage when finished.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
viewportOptional | { width: number; height: number } | Viewport in CSS pixels. Defaults to 1280 × 720. |
Returns Promise<null>
playwrightLocal.navigate
Write actionNavigate the open page to an HTTP(S) URL.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
url | string | HTTP(S) URL reachable from the project runner. |
Returns Promise<{ url: string; status: number | null }>
playwrightLocal.click
Write actionClick the element matching a Playwright selector.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
selector | string | Playwright selector for the target element. |
Returns Promise<null>
playwrightLocal.fill
Write actionReplace the value of an editable field.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
selector | string | Playwright selector for the target element. |
value | string | Value to enter. |
Returns Promise<null>
playwrightLocal.waitForSelector
Read callWait until the element matching a selector is visible.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
selector | string | Playwright selector for the target element. |
Returns Promise<null>
playwrightLocal.readText
Read callRead the rendered text of the matching element, up to 1,000 characters.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
selector | string | Playwright selector for the target element. |
Returns Promise<string>
playwrightLocal.pageInfo
Read callRead the current page title and URL.
Parameters and return value
This call takes no parameters.
Returns Promise<{ url: string; title: string }>
playwrightLocal.screenshot
Read callCapture the current viewport as a base64-encoded PNG.
Parameters and return value
This call takes no parameters.
Returns Promise<string>
playwrightLocal.closePage
Write actionClose the current page and discard its Chromium profile.
Parameters and return value
This call takes no parameters.
Returns Promise<null>
