Official Node.js client for the TestingBot REST API, version 1.2.0. Provides full coverage of TestingBot cloud-based cross-browser testing infrastructure: session management, test artifacts, screenshots, tunnels, builds, team management, and codeless tests. Supports both callback and async/await patterns, includes TypeScript types, typed error classes, and built-in workflow helpers (auto-pagination, polling, batch operations, statistics). Releases are periodic via npm.
npm install testingbot-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the client with environment variables, fetches browser list, and lists tests with pagination handling.
Upgrade Node.js to 18 or later.
Use response.data to get the array, response.meta for pagination info.
Import and catch specific error types: import { AuthenticationError } from 'testingbot-api'.Use async/await instead of callbacks.
Run `npm install testingbot-api` and ensure import path is correct: `import TestingBot from 'testingbot-api'`.
Use `import TestingBot from 'testingbot-api'` or `const TestingBot = require('testingbot-api')`.Set TESTINGBOT_KEY and TESTINGBOT_SECRET environment variables, or pass them in constructor options.