# TestMu AI Browser Cloud Screenshot (`testmuai/testmu-ai-browser-cloud`) Actor

Open any URL on real cloud browsers from TestMu AI (formerly LambdaTest) and get a screenshot, page title, HTTP status and load time for each browser, plus a link to the session recording.

- **URL**: https://apify.com/testmuai/testmu-ai-browser-cloud.md
- **Developed by:** [TestMuAI](https://apify.com/testmuai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does TestMu AI Browser Cloud Screenshot do?

This Actor opens any web page on real cloud browsers from [TestMu AI](https://www.testmuai.com/) (formerly LambdaTest) and returns, for each browser:

- a **screenshot** of the page (visible window or full page)
- the **page title** and **HTTP status**
- the **load time** in milliseconds
- a link to the **session recording** in your TestMu AI dashboard, with video and console logs

Use it to check how a page renders across browsers and operating systems, to catch a broken deploy, or to give an AI agent eyes on a page through the Apify MCP server.

### What do I need?

A TestMu AI account. Copy your **username** and **access key** from your [account security page](https://accounts.lambdatest.com/security) into the Actor input. Each browser you pick runs as one session on your TestMu AI plan.

### Input

| Field | Description |
|---|---|
| URL | The page to open, starting with `http://` or `https://`. |
| Browsers | Chrome, Microsoft Edge, Firefox (Playwright) and WebKit (Playwright). Default: Chrome. |
| Operating system | Windows 11, Windows 10, macOS Sonoma or macOS Ventura. Default: Windows 11. |
| Full-page screenshot | Capture the whole scrollable page instead of only the visible window. |
| TestMu AI username and access key | Your TestMu AI credentials. The access key is stored as a secret input. |

### Output

One dataset row per browser:

```json
{
  "url": "https://www.testmuai.com/",
  "browser": "Chrome",
  "platform": "Windows 11",
  "status": "passed",
  "httpStatus": 200,
  "title": "TestMu AI",
  "loadTimeMs": 2140,
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/.../records/screenshot-Chrome",
  "sessionUrl": "https://automation.lambdatest.com/test?testID=...",
  "error": null
}
```

`status` is `passed` when the page answered with an HTTP status below 400. The same status is set on the TestMu AI session, so you can find failed runs in your dashboard.

### Support

TestMu AI support: <support@testmuai.com>. Documentation: [testmuai.com/support/docs](https://www.testmuai.com/support/docs/).

# Actor input Schema

## `url` (type: `string`):

The page to open, starting with http:// or https://.

## `browsers` (type: `array`):

The cloud browsers to open the page in. Each browser runs as its own TestMu AI session.

## `platform` (type: `string`):

The operating system of the cloud machine.

## `fullPage` (type: `boolean`):

Capture the whole scrollable page instead of only the visible window.

## `buildName` (type: `string`):

Name of the TestMu AI build the sessions are grouped under.

## `username` (type: `string`):

Your TestMu AI username, from https://accounts.lambdatest.com/security.

## `accessKey` (type: `string`):

Your TestMu AI access key, from https://accounts.lambdatest.com/security.

## Actor input object example

```json
{
  "url": "https://www.testmuai.com/",
  "browsers": [
    "Chrome"
  ],
  "platform": "Windows 11",
  "fullPage": false,
  "buildName": "Apify - TestMu AI Browser Cloud Screenshot"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://www.testmuai.com/"
};

// Run the Actor and wait for it to finish
const run = await client.actor("testmuai/testmu-ai-browser-cloud").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "url": "https://www.testmuai.com/" }

# Run the Actor and wait for it to finish
run = client.actor("testmuai/testmu-ai-browser-cloud").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.testmuai.com/"
}' |
apify call testmuai/testmu-ai-browser-cloud --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,testmuai/testmu-ai-browser-cloud"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LT2eftl5vrL66ZA33/builds/lEWRrxESD00WFQ3i1/openapi.json
