# Render & Extract HTML From Any URL

**Use case:** 

Load any URL in a real headless browser and get the full rendered HTML or a selected area by CSS selector. Scroll, wait, and screenshot.

## Input

```json
{
  "urls": [
    {
      "url": "https://www.example.com"
    }
  ],
  "scrollToBottom": false,
  "maxScrolls": 15,
  "waitUntil": "domcontentloaded",
  "waitMs": 0,
  "blockResources": [
    "media",
    "font"
  ],
  "htmlMode": "full",
  "returnFullHtml": true,
  "returnText": true,
  "includeScreenshot": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "loadedUrl": {
    "label": "Final URL",
    "format": "link"
  },
  "statusCode": {
    "label": "Status",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "selectedCount": {
    "label": "Selected",
    "format": "number"
  },
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Headless Browser HTML Scraper](https://apify.com/patel_dev_automation/browserless-html-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/patel_dev_automation/browserless-html-scraper) to learn more, explore other use cases, and run it yourself.