import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});
const response = await client.browsers.computer.setCursorVisibility('id', { hidden: true });
console.log(response.ok);{
"ok": true
}import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});
const response = await client.browsers.computer.setCursorVisibility('id', { hidden: true });
console.log(response.ok);{
"ok": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Browser session ID
Whether the cursor should be hidden or visible
Cursor visibility set
Generic OK response.
Indicates success.