Read file contents
GET
/browsers/{id}/fs/read_fileAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Browser session ID
Query Parameters
path*string
Absolute file path to read.
Match
^/.*Response
application/octet-stream
File read successfully
response?file
Format
binarycurl -X GET "https://example.com/browsers/string/fs/read_file?path=string""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" }}{ "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" }}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.
putWrite or create a file
Next Page