Skip to main content

basic-navigation Scenario 3 — Take a Full-Page Screenshot

Written by RTILA X Engineering Team

Beginner ~4 min

What You'll Learn

Capture a full-page screenshot programmatically

Real-World Use Case

Archiving visual page snapshots for compliance

LIVE DEMO

Screenshot Target

A simple, stable page section used for full-page screenshot capture.

Capture This Entire Page

This page contains multiple content sections that should all appear in the resulting full-page screenshot.

800 × 400 hero placeholder
Content Card 1
Content Card 2
Content Card 3
EXPECTED OUTPUT

Screenshot Result

Screenshot saved to: screenshot.png (full page, 800px wide minimum)

RTILA X PROJECT JSON

RTILA X Automation Project

full-page-screenshot.json
    {
  "name": "Take_Full_Page_Screenshot",
  "settings": {
    "urls": [
      "https://learn.rtila.com/scenarios/basic-navigation/3"
    ],
    "headless": false,
    "navigation_timeout": 30000,
    "max_concurrent_workers": 1,
    "humanoidEnabled": true,
    "humanoidSensitivity": "medium"
  },
  "datasets": {},
  "commands": [
    {
      "command": "goto",
      "params": {
        "url": "https://learn.rtila.com/scenarios/basic-navigation/3"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.screenshot-target"
      }
    },
    {
      "command": "screenshot",
      "params": {
        "path": "screenshot.png",
        "fullPage": true
      }
    }
  ]
}
  

RTILA X Concepts

The screenshot command accepts a fullPage parameter. Waiting for a known selector before capturing ensures the page has finished rendering its content.

Did you complete this scenario?

Ready to run this automation?

Copy the project JSON above, open RTILA X, create a new project, and paste it.

This scenario covers 1 RTILA X command and is referenced in 1 learning article.

Continue Learning

Was this helpful?