← ClaudeAtlas

testdriverclientlisted

Initialize and configure the TestDriver SDK client
testdriverai/testdriverai · ★ 242 · Testing & QA · score 71
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from client.mdx. DO NOT EDIT. --> ## Overview The `TestDriver` client is the main entry point for the SDK. It handles authentication, sandbox connection, and provides access to all testing methods. ## Constructor ```javascript const testdriver = new TestDriver(apiKey, options) ``` ### Parameters <ParamField path="apiKey" type="string" required> Your TestDriver API key from the [dashboard](https://console.testdriver.ai/settings) </ParamField> <ParamField path="options" type="object"> Configuration options for the client <Expandable title="properties"> <ParamField path="os" type="string" default="linux"> Operating system for the sandbox: `'windows'` or `'linux'` </ParamField> <ParamField path="resolution" type="string" default="1366x768"> Screen resolution for the sandbox (e.g., `'1920x1080'`, `'1366x768'`). Custom resolutions are only available on Enterprise plans. </ParamField> <ParamField path="apiRoot" type="string"> API endpoint URL (typically only changed for self-hosted deployments) </ParamField> <ParamField path="analytics" type="boolean" default="true"> Enable or disable usage analytics </ParamField> <ParamField path="logging" type="boolean" default="true"> Enable or disable console logging </ParamField> <ParamField path="autoScreenshots" type="boolean" default="false"> Automatically capture screenshots before and after each command. S