Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk5 min

How to Use Targeted Regions for UI Visual Testing

Use targeted regions to focus visual checks on components, handle changing content deliberately, and avoid masking important UI regressions.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Targeted regions make visual tests more useful by focusing comparison on the component that matters—or by excluding known-changing content that does not. In Playwright with Applitools Eyes, pass a locator as region to check a component, or use ignoreRegions for material that should not affect that checkpoint. Choose an ignore mask carefully: pixels inside it are no longer checked.

What a targeted region does

A targeted region defines the part of a rendered page that a visual check examines or treats differently. It can narrow a check to one component, such as a navigation bar, or modify comparison behavior for a portion of a broader screenshot.

As an Amazon Associate I earn from qualifying purchases.

This is different from merely taking a smaller screenshot: a region can change the scope or comparison rules of an assertion while the surrounding page remains part of the checkpoint. The exact region formats and comparison controls depend on the tool.

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

How to check one component in Applitools Playwright

Use a Playwright locator for the component and pass it as region to eyes.check(). The example below follows the documented Applitools Playwright fixture pattern; configure the fixture and project according to the integration setup used by your test suite.

#1 Best Overall
Optical Elite Digital Visual Acuity Eye Chart for Optometry, Snellen & Tumbling E, Randomize/Mirror, Works with TV/Monitor, Plug & Play, No PC Required, Auto Calibration, RF Remote, Supports 4K
  • Universal Compatibility: Designed for use with any screen, this all-in-one visual acuity chart does not require a computer. Suitable for all monitors, it's compact and easy to install. Supports HDMI connection for direct plug-and-play use.
  • Comprehensive Testing: Includes all tests such as Ishihara, Cross Cylinder, Red Green Balance, Fixation, Astigmatism, Cross Grid, Coincidence, Schober, Worth 4 Dot, Red Green Panel, Traffic Lights and more. Allows continuous testing at varying distances from 1m to 7m with random sequencing of optotypes. Offers the option for Imperial or Metric standards, plus randomize and mirror functions.
  • Plug and Play Convenience: Smart calibration ensures compatibility with any monitor or TV set. Enjoy full functionality with multiple charts for seamless testing.
  • Compact and Versatile Design: The small-sized remote is perfect for one-handed control, ensuring convenience during testing. Display video, audio, and pictures with customizable storage options. Utilizes a 5G system storage for easy access. Offers optional power supply solutions via USB port or charger.
  • RF Wireless Remote Control: Features a fluorescent keypad with RF wireless technology for hassle-free control. With omnidirectional 2.4G RF remote control, no direct aiming is required, ensuring a longer working distance, faster response time, and reliable performance.
import { test } from '@applitools/eyes-playwright/fixture';

test('navigation visual check', async ({ page, eyes }) => {
  await page.goto('https://example.com');
  const navbar = page.locator('nav');

  await eyes.check('Navigation bar', {
    region: navbar,
    matchLevel: 'Strict'
  });
});

Give checkpoints meaningful names so a diff can be identified in the Applitools Dashboard. The integration also documents options such as fully, floatingRegions, and IgnoreDisplacements; use those only when their behavior fits the assertion you intend to make.

How to ignore dynamic content without hiding important failures

For a full-page checkpoint containing a known volatile element, Applitools Playwright documents ignoreRegions. The locator scopes the exclusion to the changing element:

Rank #2
TopTes Guard-101 Gas Detector, 4 Gas Monitor for H2S, CO, LEL and O2, with Vibration, Visual and Audible Alarms, 14h Long Battery Life, Safety Explosion-Proof, for Work, Home - Orange
  • Quick Detection, Safety First: Guard-101 4 gas monitor multi gas detector is designed for rapid detection of 4 types of gases (H2S, CO, LEL, O2). The battery life lasts up to 14 hours, ensuring long-term monitoring of gas concentrations
  • User-Friendly Design: Guard-101 gas detector is made of high-strength ABS engineering plastic, which is waterproof, dustproof, and explosion-proof. Its back clip design makes it easy to carry in the workplace. Password protection prevents accidental operation, with an initial password of "69"
  • Triple Alarm, Data Storage: Guard-101 4 gas monitor multi gas detector utilizes three alarm modes: LED light, vibration, and sound. It responds within 0.5 seconds and continues to alarm until the gas concentration returns to normal. The Guard-101 also features an alarm record storage function, allowing you to check monitoring data at any time
  • Professional Certification: The Guard-101 4 Gas Monitor has passed rigorous safety tests conducted by internationally authorized institutions. It holds valid certification and meets industry standards, ensuring high reliability and accuracy in various environments
  • What You Get: Your purchase includes a Guard-101 gas detector, a packaging box, a user manual, a charging cable, and a standard gas hood. This device is suitable for a wide range of applications, including industrial manufacturing, mining, agriculture, emergency rescue, and home use
await eyes.check('Product page', {
  fully: true,
  matchLevel: 'Strict',
  ignoreRegions: [page.locator('.dynamic-content')]
});

Apply this only when changes inside that element are outside the purpose of the test. The ignored pixels cannot reveal an unintended visual change in that area. A timestamp may be irrelevant to a layout assertion; a price, legal disclosure, or status indicator may change dynamically but still be important enough to validate separately.

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.

Prefer stabilizing data when the changing value matters

Where practical, make the test state deterministic: use controlled test data, a consistent viewport, and deliberate animation or time behavior. These are general testing practices, not requirements unique to a particular visual tool. If the content carries meaning, assert its content or behavior separately rather than masking it and losing coverage.

Rank #3
Camera Tester, WANLUTECH 8MP TVI CVI AHD CVBS Analog Camera Tester 4.3 inches Screen UTP Cable Test RS485 PTZ Control Audio Test 12V Power Output
  • WANLUTECH analog camera tester supports to test max 8MP AHD/8MP TVI/8MP CVI/Analog CVBS camera. Using HD app can automatically recognize AHD CVI TVI cameras and display resolution and frame rate on the screen, support coaxial PTZ & call OSD menu (PLEASE NOTE that this model doe not support test IP network camera)
  • UTP Cable Tester: UTP cable continuity test and display on the screen, support to detect the near-end fault point of the RJ45 cable plug on the tester, support for measuring network cable length (When testing the length of the network cable, one end of the network cable should be connected to the tester and the other end of the cable cannot be connected to other devices), test length max 3000 meters
  • CVBS video signal test, 1 channel BNC input, NTSC/PAL (Auto adapt), PTZ control, RS485 control, Baud 600-115200bps, compatible with more than 30 protocols. Support audio test, 1 channel audio signal input, test the audio whether is normal
  • Built-in 3.7V/4000mAh battery. LED flashlight provides light for dark work environments. Power output: DC12V/1A. Power input: DC5V/2A. 4.3 inches screen, 480*272 resolution. Package include: 1x cctv tester, 1x 5V 2A USB charging cable, 1x BNC cable, 1x RS485 cable, 1x audio cable
  • PLEASE NOTE: there is a paper piece isolating the battery. Before using the tester, open the battery cover and remove the paper sheet. We are the manufacturer. Any questions, please let us know, We'll get back to you within 12 hours

Use a less strict regional comparison when structure still matters

Ignoring a region is not the only option. Applitools’ Match Regions guidance describes setting a region to Layout comparison while keeping the rest of a page at Strict. That preserves a check of the area’s layout while allowing more variation than strict visual matching. The article says a region-specific match level can be set only when the global match level is not Layout.

The right choice follows the risk: strict comparison for appearance that must remain stable, a reduced-sensitivity comparison when structure matters more than exact rendering, or an ignore mask only when the region is genuinely outside the check’s purpose.

Rank #4
Anpviz 5 Inch 4 in 1 CCTV Monitor Tester, Coaxial Analog Video CCTV Tester
  • Support up to HD TVI video surveillance testing: Support 2MP, 3MP, 4MP, 5MP 8MP. When TVI signal input, the tester will display HD TVI camera image.
  • Portable multi-functions CCTV tester with 5 inch TFT-LCD Screen(Not touch screen), 800*480 resolution, make your job more easily with this professional CCTV tester.
  • The CCTV tester builts in 18650 2600mA battery, after charging 3-4 hours, working time lasts 11 hours, long standby time. Small body, portable and easier to carry.
  • This camera tester also features a multi-purpose testing unit that includes built-in PTZ tester/controller, UTP cable test, audio surveillance test, and power output.
  • Support VGA/HDMI 1.1 Compliant Digital input, can be used for debugging DVR/NVR recorder, also can be a display.

Choose a region definition that survives your layout

Tools differ in how they identify regions. Applitools’ Playwright integration uses a locator for a component region and supports ignored regions. Percy Playwright documents selector-, XPath-, and custom coordinate-based ignore regions, along with per-region algorithms.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Region definition Useful when Watch for
DOM element or locator The element itself is the thing being checked or excluded. Confirm the locator resolves to the intended element in the test state.
CSS selector or XPath The tool accepts selector-based region controls, as Percy Playwright documents. Selector changes or matching multiple elements can alter the intended scope.
Coordinates or bounding box A fixed image area is the target and the layout is stable. Movement or responsive reflow can make fixed boundaries cover the wrong content. Percy documents coordinate boundaries as top, right, bottom, and left, and bounding boxes as x, y, width, and height.

Applitools’ Regions Only page describes element-based targeting and says its workflow can follow responsive relocation and be auto-maintained; treat those as Applitools feature descriptions, not independent guarantees for every project or layout.

Best Value
RM-60 Portable Radon Detector, High-Accuracy Sensor Radon Monitor, Long-Term Monitoring, Audible & Visual Alarms, Rechargeable Radon Tester with TFT Color Display, for Home, Basement, pCi/L or Bq/m³
  • ACCURATE DETECTION: This radon detector is equipped with a high-precision semiconductor sensor and vented housing. It detects radon from 0.09–1000 pCi/L (3.3–37000 Bq/m³) and supports switching between pCi/L and Bq/m³ units for efficient, efficiently and accurately detect radon for you
  • AUDIO & VISUAL ALARM: The detector has an alarm function, and when the radon concentration exceeds the preset limit, the flashing light and buzzer will alert you. Ideal for poorly ventilated basements, homes and construction sites. Alarm threshold and alpha particle sound are adjustable as needed
  • SHORT & LONG-TERM MONITORING: This radon monitor logs detailed data. The first reading appears after 12 hours and updates every 60 minutes. It records values for multiple time periods and peak values. Data auto-saves every 6 hours. Each log provides an overview of up to 504 days, and you can store up to 10 logs for reliable long-term radon monitoring
  • EASY TO USE & PORTABLE: Equipped with a color TFT 2.0 screen and graphical UI, it clearly displays radon levels for easy operation. Its portable design with an adjustable rear stand lets you easily place and view the device anywhere
  • LONG BATTERY LIFE: 2000 mAh rechargeable lithium battery, USB Type‑C charging; full charge in 3.5 hours (power‑off). Up to 45‑day runtime in standby mode with adjustable ECO standby time. It enables continuous monitoring even during travel for your peace of mind
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A practical workflow for focused visual checks

  1. Stabilize the scenario. Control data and viewport where possible, and decide how animation or time-dependent content should behave.
  2. Name the checkpoint. Choose a concise name that identifies the page or component in the report.
  3. Pick the smallest meaningful scope. Use a component locator for a component assertion; keep a whole-page checkpoint if surrounding layout is also under test.
  4. Classify changing regions by risk. Decide whether to stabilize, separately assert, compare at a reduced sensitivity, or ignore. Do not equate “dynamic” with “unimportant.”
  5. Review diffs before updating baselines. Applitools’ enhanced HTML report supports accepting a changed checkpoint as the new baseline or rejecting it as unintended. Accept only an intentional UI change; investigate unexpected differences.
  6. Revisit masks as the product evolves. An area that was once irrelevant can acquire content or become a critical control.

Common mistakes and fixes

  • The test still fails on a dynamic element: check that the locator matches the rendered element and that the ignore option is attached to the checkpoint being evaluated. Prefer stable test data if the value matters.
  • A mask hides a regression: reduce its scope, remove it, or replace it with a less strict regional comparison and a separate semantic assertion.
  • A coordinate mask covers the wrong area after a layout change: use a DOM-based target where supported, or update and review the coordinates against the new layout.
  • A component region is absent or misplaced: verify the locator and the page state at checkpoint time, including responsive viewport and any preceding navigation or loading steps.
  • A baseline was updated for an unexpected diff: reject the change or investigate before accepting; acceptance makes that checkpoint the new baseline.

Or skip the browser setup

For rendered-page captures outside a test assertion workflow, ScreenshotNeo returns an image or PDF from one GET request. This cURL example captures a page as WebP; see the ScreenshotNeo API documentation for options.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
  • Cookie/consent banners, newsletter popups, and chat widgets are removed before the shot; each cleanup step can be turned off.
  • Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed. Responses identify the page verdict and billing status in headers.
  • An MCP server provides take_screenshot, get_page_info, and capture_pdf for AI agents and MCP clients.
  • The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.

Sign up for ScreenshotNeo’s free plan to start with 1,000 screenshots a month and no card.

Sources and tool-specific documentation

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.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.