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.getMousePosition('id');
console.log(response.x);{
"x": 123,
"y": 123
}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.getMousePosition('id');
console.log(response.x);{
"x": 123,
"y": 123
}Documentation Index
Fetch the complete documentation index at: https://tbd-6fc993ce-pools-fill-rate-1772767851.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Browser session ID