What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Robot Framework’s SeleniumLibrary can capture a browser page, but its standard Capture Page Screenshot keyword should be treated as a viewport screenshot—not a guarantee that the whole document appears in one image. For full-page output, use a full-page command supported by your browser driver, or implement a custom capture that measures and captures the document, or stitches overlapping scroll segments. The right approach depends on your browser, driver, page behavior, and CI environment.

What Robot Framework’s screenshot keyword captures

SeleniumLibrary’s Capture Page Screenshot is the standard keyword for browser-page evidence. Its documentation describes it as: “Takes a screenshot of the current page and embeds it into a log file.” It accepts an optional filename, saves the image in the configured screenshot directory (or the Robot Framework log directory by default), and returns the saved path.

Use it for a normal browser capture, but do not assume it includes content below the visible viewport. Whether a single image can cover the full document depends on a browser- or driver-specific full-page capability, or a custom implementation. SeleniumLibrary’s ordinary failure screenshot can also omit lower-page content.

Set up a repeatable viewport screenshot

This minimal example captures the currently visible browser area. It also sets a stable artifact directory and uses an indexed filename so repeated captures do not overwrite one another.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
ELEGOO UNO R3 Smart Robot Car Kit V4 with Camera, Compatible with Arduino
  • BUILD, CODE & DRIVE YOUR OWN ROBOT CAR: Turn coding, electronics and engineering into a working programmable robot car you can assemble, program and drive; ideal for weekend family projects, STEM classrooms, coding clubs, robotics lessons and maker challenges
  • EXPLORE FPV, LINE TRACKING & OBSTACLE AVOIDANCE: Control the robot with the ELEGOO app or IR remote, view live FPV video through the onboard camera, follow black lines, avoid obstacles with the ultrasonic sensor and explore multiple interactive driving modes
  • BEGINNER-FRIENDLY BUILD WITH GUIDED WIRING: Keyed XH2.54 connectors help reduce wiring mistakes, while the illustrated tutorial and example programs guide beginners step by step from chassis assembly and module connection to programming and the first successful run
  • GO BEYOND ASSEMBLY WITH CREATIVE CODING: Program with Arduino IDE to explore movement, sensors and control logic, then modify example code to create custom routes, reactions and robotics experiments that develop coding, problem-solving and engineering skills
  • COMPLETE RECHARGEABLE STEM ROBOTICS KIT: Includes an ELEGOO UNO R3 controller board, ESP32-WROVER-based camera and Wi-Fi module, line-tracking and ultrasonic sensors, motors, IR remote and a 2000 mAh rechargeable lithium-ion battery; recommended for ages 8+ with adult guidance for first-time builders
*** Settings ***
Library    SeleniumLibrary

*** Test Cases ***
Capture page evidence
    Open Browser    https://example.com    chrome
    Set Screenshot Directory    ${OUTPUTDIR}/screenshots
    Wait Until Page Contains Element    css:main
    Capture Page Screenshot    example-viewport-{index}.png
    [Teardown]    Close All Browsers

In a Robot Framework test, {index} is replaced by an incrementing index. A configured screenshot directory makes artifacts easier to find than relying on the default log directory. For report output, SeleniumLibrary also documents EMBED to place the image in log.html and, in supported versions, BASE64 to return encoded image data while embedding it.

Choose a full-page capture method

Use a browser-driver full-page command when available

Some browser automation setups expose a driver-specific full-page screenshot command. If your browser and driver provide one, it is usually the most direct way to capture the document as one image. Robot Framework does not make this capability universal through Capture Page Screenshot; verify the command against the exact browser and driver versions used locally and in CI.

Keep the driver-specific operation in a custom Robot Framework keyword so your test case states what it needs—such as Capture Full Page Screenshot—without scattering browser-specific details through test suites. The implementation should save to the same artifact directory as ordinary screenshots and report a clear failure if the full-page operation is unsupported.

Resize the capture viewport using document dimensions

A common custom pattern is to read document.documentElement.scrollWidth and document.documentElement.scrollHeight, resize the browser window to those dimensions, take a screenshot, and restore the original window size. This can work where the driver captures the resized viewport, but it is an implementation technique, not a guarantee: browser window limits, scaling, scrollbars, very tall documents, and driver behavior may affect the result.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
ELEGOO Mega 2560 R3 Project The Most Complete Starter Kit with Tutorial
  • 35+ Guided Electronics Projects: Progress from LEDs and buttons to RFID access, real-time clocks, motion and distance sensing, environmental monitoring, motor control and interactive displays for STEM learning, coding clubs and maker projects
  • More I/O and Memory for Larger Builds: The MEGA 2560 R3 provides 54 digital I/O pins, including 15 PWM outputs, 16 analog inputs, 4 hardware serial ports and 256 KB flash for projects that combine more sensors, controls and displays
  • 200+ Components for Prototyping: Includes LCD1602, RC522 RFID, RTC, DHT11, HC-SR501 PIR, ultrasonic and water-level sensors, GY-521, MAX7219, keypad, joystick, rotary encoder, relay, SG90 servo, stepper motor, DC motor, breadboard and more
  • Learn, Modify and Create: Follow 35+ guided lessons with example code, then adjust sensor thresholds, timing, display text, motor behavior and control logic to turn structured exercises into access systems, monitors, alarms and interactive projects
  • Organized for Repeatable Learning: Pre-soldered modules, a solderless breadboard, storage case and small-parts box reduce setup time and keep sensors, LEDs, ICs, wires and other components easy to find between projects

The essential sequence is:

  1. Wait for the page’s meaningful content and images to load.
  2. Record the current browser window dimensions.
  3. Read the document’s total scroll width and height.
  4. Resize to a capture size supported by the driver and browser.
  5. Capture the image to the configured output location.
  6. Restore the original window dimensions even if capture fails.

Place the resize-and-capture logic in a custom Python or JavaScript keyword and use SeleniumLibrary to call it from Robot Framework. The specific driver API and Robot Framework integration depend on your stack, so do not copy a driver command intended for a different browser and assume it will behave identically.

Scroll, capture overlapping segments, and stitch

If resizing to the full document size is unreliable, capture several viewport images while scrolling and stitch them into one image in a custom keyword. Use a small overlap between adjacent captures so the segments can be aligned and slight scroll or scaling differences do not leave gaps. Restore the original scroll position when appropriate.

Stitching needs extra care with sticky or fixed headers, animations, content that changes as the page scrolls, and sections that load only when they approach the viewport. A fixed header may appear in every segment; a lazy-loaded image may be missing unless the page is scrolled far enough to trigger it. Decide whether the goal is a visually continuous page or a faithful sequence of viewport states, then handle those elements accordingly.

Wait for dynamic content before measuring

Measuring a document before the page has settled can produce a short capture or omit content that appears later. Waiting for a main content element is a useful start, but it does not prove that asynchronous data, images, or lazy-loaded sections have finished loading.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Wait for the page element that indicates the content under test is present.
  • For images, wait for relevant image elements to finish loading before taking dimensions, or scroll through the page first to trigger lazy loading.
  • Use a deliberate wait condition or delay for content that appears asynchronously; avoid relying only on a fast initial page load.
  • For long pages, consider scrolling through the document before the final capture so lazy-loaded content has a chance to render.
  • Be alert to sticky headers, animations, and content that shifts during capture, since these can make segments overlap incorrectly or cause seams.

Keep artifacts, reports, and output choices clear

Use Set Screenshot Directory to control where SeleniumLibrary writes screenshots, and use indexed filenames when a suite can capture more than one image. The keyword returns the path, which can be useful when a custom keyword or later test step needs to refer to the saved file.

Rank #3
Sillbird STEM Robot Building Kit with Remote Control Gifts for Boys 8-13
  • 🎁Ideal Gift for Kids & Teens: Celebrate child’s growing skills and important milestones with this 5-in-1 Programmable robot set. Whether for birthdays, holidays, or achievements, it’s the perfect gift that encourages learning and hands-on fun—a gift that grows with them
  • ✨STEM Educational Toys: The robot set for kids ages 8+ combines the fun of STEM learning. It encourages hands-on learning and early programming as they build, which can spark creativity and imagination and provide hours of screen-free play
  • 📱Flexible Dual Control Modes: Control the Robotic kit with the intuitive app (Bluetooth) or remote. Enjoy fun features like basic programming, path, and precise movement, exploring endless interactive play
  • 🔄 5-in-1 Buildable with Varying Difficulty: The Robot Kit with Progressive Difficulty! From simple robots to complex models, kids can build a robot, dinosaur, car, tank, and more. Adjustable head, arms, and tail allow for fun, playful poses. Perfect for kids 8-12 to develop skills step by step and ignite creativity
  • 🛠️Clear & Detailed Build Instructions: This robot kit includes 488 pieces, with clear, colorful step-by-step instructions to make assembly easy. Kids can build their own robots independently or with family, enjoying quality time together and a confidence-boosting building experience

Choose between a report-embedded image and a file artifact based on how the team consumes test results. EMBED places the image in the Robot Framework log; BASE64 is documented for supported SeleniumLibrary versions. If the capture is produced by a custom full-page routine, make sure that routine writes a file or returns data in a way compatible with your test report workflow.

Browser screenshots are not desktop screenshots

Robot Framework’s built-in Screenshot library captures the machine desktop. Taking a screenshot requires a physical or virtual display and one of the supported operating-system tools or Python modules. That can be appropriate for desktop evidence, but it does not provide a browser-document full-page guarantee.

Capture Element Screenshot is a different SeleniumLibrary capability: it targets a located element rather than the whole document. SeleniumLibrary warns that element screenshot support is limited by browser-vendor implementation, so it should not be treated as a dependable substitute for full-page capture.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Compare approaches against your test environment

Approach Coverage What to verify
Capture Page Screenshot Ordinary page or viewport capture; not a universal full-document capture Where the file is saved, report embedding, and behavior in your browser and driver
Browser-driver full-page command Can capture the full document when the selected driver supports the operation Exact browser and driver support, output dimensions, and CI compatibility
Resize to document dimensions Attempts one image sized to document scroll dimensions Maximum usable dimensions, scaling, window-size behavior, and restoration on failure
Scroll and stitch Combines viewport captures to cover a long page Lazy loading, sticky elements, overlap alignment, and page changes during scrolling
Robot Framework Screenshot library Machine desktop, not necessarily the entire browser document Physical or virtual display and supported OS tool or Python module

For repeatable CI evidence, check more than whether a file exists: confirm that lower content is present, that images have loaded, and that the result is consistent in the same headless browser and driver configuration used for the test run. A custom full-page method can take longer and produce much taller images than a viewport capture; capture only when the evidence is useful and keep image dimensions manageable for your reports and artifact storage.

Rank #4
Sale
Sillbird 12-in-1 Solar Robot Building Kit STEM Gift for Boys Ages 8-13
  • 🎁 Ideal Gift for Kids & Teens: This STEM solar robot kit celebrates child’s growing skills and important milestones. Whether for birthdays, holidays, it’s the perfect gift that grows with them and offers screen-free fun
  • 📚 STEM Educational Toy: This solar educational toy brings science to life! The fun DIY building experience sparks children's curiosity in engineering and renewable energy, while nurturing their problem-solving skills
  • ☀️ Powered by the Sun: Enjoy outdoor play with solar power or switch to a strong artificial light source indoors, such as a flashlight, ensuring uninterrupted play for children. This solar build bot toy encourages kids to have fun while exploring renewable energy
  • ⚡ Upgraded Larger Solar Panel: Features a large sun-catching surface to harvest more sunlight and deliver stronger power output. Kids discover renewable energy principles through play - a fun educational toy for ages 8+
  • 🤖 12-in-1 Buildable with Increasing Challenge: With 190 parts, kids can build 12 models like robots, cars, and more. From simple beginners to advanced builds, the varying difficulty levels allow it to grow with your child’s skills. Each robot sparks children’s creativity
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot missing or incorrect full-page captures

The screenshot contains only the visible viewport

Cause: Capture Page Screenshot performed an ordinary page capture, or the selected driver did not use a full-page operation. Fix: use a supported browser-driver full-page command or implement document-dimension resizing or scroll-and-stitch capture.

The bottom of the page is cut off

Cause: dimensions were read before content finished loading, the driver could not capture the requested height, or the page grew during capture. Fix: wait for content and images, scroll to trigger lazy loading, then measure again. If the page exceeds reliable window dimensions, use overlapping segments and stitch them.

Lazy-loaded images or sections are blank

Cause: the browser never scrolled far enough to trigger loading before the screenshot. Fix: scroll through the document first, wait for content to appear, and only then perform the final capture.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The output has repeated headers, gaps, or seams

Cause: fixed elements repeat in each segment, or the scroll distance and overlap do not match the actual movement. Fix: account for sticky elements in the stitching logic and use overlapping captures that can be aligned. If the page changes while scrolling, stabilize its content or prefer a driver-supported full-page operation where available.

The screenshot is saved somewhere unexpected or overwritten

Cause: the default log directory is being used, or repeated captures reuse one filename. Fix: set Set Screenshot Directory and include {index} in the filename.

Best Value
Sale
Thames & Kosmos Mega Cyborg Hand STEM Experiment Kit | Build Your Own GIANT Hydraulic Amazing Gripping Capabilities Adjustable for Different Sizes Learn Pneumatic Systems
  • Build your own awesome, wearable mechanical hand that you operate with your own fingers.
  • No motors, no batteries — just the power of air pressure, water, and your own hands!
  • Hydraulic pistons enable the mechanical fingers to open and close and grip objects with enough force to lift them. Every finger joint can be adjusted to different angles for precision movement.
  • Three configurations: right hand, left hand, and claw-like; adjustable to fit virtually any human hand.
  • Learn how pneumatic and hydraulic systems are used in industrial robots such as automobile components..2021 The Toy Association's STEAM Toy Of The Year Winner

A custom capture works locally but fails in CI

Cause: browser or driver support, headless display setup, or dimension limits differ between environments. Fix: use the same browser and driver configuration in CI as in development, confirm whether a physical or virtual display is needed for the chosen method, and test the capture against a representative long page.

Or skip the browser setup

If your requirement is a screenshot from a URL rather than evidence generated inside an existing Robot Framework browser session, ScreenshotNeo offers a screenshot API and MCP server. One GET request can return an image or PDF; its clean-shot options can accept cookie and consent banners and remove known consent platforms, newsletter popups, and chat widgets before capture. Each of those cleanup steps can be turned off.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For example, this cURL request saves a WebP screenshot of a page:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo API documentation for request options and response details. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing; response headers report the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 screenshots per month without a card; paid plans start at $5 for 3,000 shots. Sign up for 1,000 free screenshots a month with no card.

Frequently asked questions

Can I capture a full-page screenshot on every browser with SeleniumLibrary?

No universal guarantee is established for every browser and driver. The standard SeleniumLibrary page screenshot is an ordinary capture; full-page support depends on a driver-specific capability or a custom method that you validate in your target environment.

Does Robot Framework’s Screenshot library capture a whole web page?

It captures the machine desktop. A desktop image may show the browser window, but it does not ensure that content outside the visible browser area is included.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can Capture Element Screenshot replace a full-page screenshot?

No. It captures a selected element and has browser-vendor implementation limitations; it is a separate feature from capturing the entire document.

Quick Recap

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.