Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Browser session ID
Body
application/json
Response
Screenshot image
The response is of type file.
import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: 'My API Key',
});
const response = await client.browsers.computer.captureScreenshot('id');
console.log(response);
const content = await response.blob();
console.log(content);This response does not have an example.import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: 'My API Key',
});
const response = await client.browsers.computer.captureScreenshot('id');
console.log(response);
const content = await response.blob();
console.log(content);This response does not have an example.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Browser session ID
Show child attributes
Screenshot image
The response is of type file.