Write text to the clipboard on the browser instance
POST
/browsers/{id}/computer/clipboard/writeAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Browser session ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response
Text written to clipboard successfully
no response body.
curl -X POST "https://example.com/browsers/string/computer/clipboard/write" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'Empty
{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}postRead text from the clipboard on the browser instance
Previous Page
postExecute Playwright/TypeScript code against the browser
Execute arbitrary Playwright code in a fresh execution context against the browser. The code runs in the same VM as the browser, minimizing latency and maximizing throughput. It has access to 'page', 'context', and 'browser' variables. It can `return` a value, and this value is returned in the response.