# Mobile screenshots of six JavaScript framework homepages

**Use case:** 

Capture the homepages of Next.js, Astro, Svelte, Vue, Remix and Nuxt as they look on a phone (390x844, touch, 3x pixel density) in one run: a PNG per page with a direct download link, plus the page title, final URL and status code. Replace the URLs with your own pages or a competitor's, or switch the device to desktop or full page.

## Input

```json
{
  "urls": [
    "https://nextjs.org/",
    "https://astro.build/",
    "https://svelte.dev/",
    "https://vuejs.org/",
    "https://remix.run/",
    "https://nuxt.com/"
  ],
  "device": "mobile",
  "width": 1280,
  "height": 800,
  "fullPage": false,
  "format": "png",
  "jpegQuality": 80,
  "darkMode": false,
  "hideCookieBanners": true,
  "waitUntil": "load",
  "delayMs": 500,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Url",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "screenshotUrl": {
    "label": "Screenshot Url",
    "format": "string"
  },
  "device": {
    "label": "Device",
    "format": "string"
  },
  "fullPage": {
    "label": "Full Page",
    "format": "boolean"
  },
  "bytes": {
    "label": "Bytes",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot API: Full-Page, Mobile & Desktop Actor is ready to run with the inputs already set for "Mobile screenshots of six JavaScript framework homepages". [Sign up or log in](https://console.apify.com/create-task-from-example/405bWvsaHDzgLVETI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Mobile screenshots of six JavaScript framework homepages" task

The Website Screenshot API: Full-Page, Mobile & Desktop Actor will start running based on the input automatically. You can also change all the input fields, like page urls, device, and more, to match your specific use case.

### 3. Receive the "Mobile screenshots of six JavaScript framework homepages" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as url, title, screenshot url, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Mobile screenshots of six JavaScript framework homepages" task via API](https://apify.com/lowcountrytech/website-screenshot.md).

## FAQ

### What does this mobile screenshot task return?

One record per page: a direct link to the PNG screenshot, the image key in the run's key-value store, the page title, the URL the browser ended on, the HTTP status code, the device and the image size.

### Can I screenshot my own pages?

The framework homepages screenshot task works for any pages: duplicate it, replace the URLs with your own pages or a competitor's, and choose desktop, laptop, tablet, mobile or a custom size. Turn on Full page to capture the whole scrollable page.

### Where do I find the images?

Each record's screenshotUrl opens the image directly. All images are also in the run's default key-value store, where you can download them one by one or through the API.

### Are cookie banners in the screenshots?

Common cookie banners and chat bubbles are hidden from the image with CSS. Nothing is clicked or accepted on the site. Pages load in a real Chrome browser with no login, and robots.txt is respected.

## About this Actor

This example demonstrates how to use [Website Screenshot API: Full-Page, Mobile & Desktop](https://apify.com/lowcountrytech/website-screenshot.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lowcountrytech/website-screenshot.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lowcountrytech/website-screenshot.md

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`).
