Playwright icon

CONNECT APP

Build with Playwright

Playwright enables reliable end-to-end testing for modern web apps.

Testing

  • API key

MCP

Give your agent Playwright tools

Every Playwright action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Playwright account for each tool call — you store no tokens.

// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": "{project_id}",
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "playwright",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Get Page HTML:
const result = await mcp.callTool({
  name: "playwright-get-page-html",
  arguments: {
    url: "URL",
  },
})

SDK

Run Playwright actions from your backend

Connect a user's Playwright account once, then run Get Page HTML on their behalf from your own code — TypeScript, Python, or plain HTTP.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "playwright-get-page-html",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    playwright: { authProvisionId: "apn_xxxxxxx" },
    url: "URL",
  },
})

EVENTS

Playwright triggers

Event sources your backend can deploy for users and receive through a webhook.

No Playwright triggers are available yet.

MULTI-APP

Use Playwright with other popular apps

Most products don't stop at one integration. Pair Playwright with the other apps your users rely on, and ship use cases that span both.

Jira icon Jira Jira is the #1 agile project management tool used by teams to plan, track, release, and support great software with confidence Kafka icon Kafka Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. Figma icon Figma Figma is the leading collaborative design tool for building meaningful products. WhatsApp by Online Live Support icon WhatsApp by Online Live Support Integrate WhatsApp messaging via Online Live Support Microsoft Outlook Email icon Microsoft Outlook Email Microsoft Outlook lets you bring all your email accounts and calendars in one convenient spot. Google Gemini icon Google Gemini Google Gemini is a multimodal AI by DeepMind that processes text, audio, images, and more. Microsoft Power BI icon Microsoft Power BI Visualize any data and integrate the visuals into the apps you use every day with Power BI, a unified platform for self-service and business intelligence. Stripe icon Stripe Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes. Datadog icon Datadog Cloud monitoring as a service Microsoft SQL Server icon Microsoft SQL Server Unleash the power of your data—on-premises, in the cloud, or at the edge—and reveal insights to transform your business. OpenAI (ChatGPT) icon OpenAI (ChatGPT) OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper. Google Sheets icon Google Sheets Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.

REFERENCE

App details

Reference metadata for the Playwright connector in the Pipedream registry.

App slug
playwright
Authentication
API key
Categories
Testing
Actions
4
Triggers
0
API proxy
Not available