MCPcopy Index your code
hub / github.com/callstack/agent-device / screenshotLinux

Function screenshotLinux

src/platforms/linux/screenshot.ts:3–8  ·  view source on GitHub ↗
(
  outPath: string,
  options?: LinuxScreenshotOptions,
)

Source from the content-addressed store, hash-verified

1import { resolveLinuxToolProvider, type LinuxScreenshotOptions } from './tool-provider.ts';
2
3export async function screenshotLinux(
4 outPath: string,
5 options?: LinuxScreenshotOptions,
6): Promise<void> {
7 await resolveLinuxToolProvider().screenshot!.capture(outPath, options);
8}

Callers 1

createLinuxInteractorFunction · 0.90

Calls 1

resolveLinuxToolProviderFunction · 0.90

Tested by

no test coverage detected