October 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 NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Approve Only Selected Visual Changes in BackstopJS

Filter BackstopJS approval by image filename to accept only the visual changes you intend.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To accept only some BackstopJS visual changes, run backstop approve --filter='<image_filename_regex>' after reviewing the latest test report. The approval filter matches screenshot filenames, so choose a pattern that identifies the specific capture or captures you want to promote. Without it, approval promotes every changed image in the most recent test batch.

Approve selected screenshots step by step

  1. Run backstop test to capture the current pages and compare them with the approved references.

  2. Open the visual report and find the exact filenames for the changed screenshots you want to accept. BackstopJS filenames normally include scenario and viewport names; use the report rather than guessing at the naming.

  3. Build a regular expression that matches only those filenames. For example, if the report filenames fit the pattern, you could run backstop approve --filter='checkout.*desktop'. This is an illustrative pattern, not a guaranteed filename: adapt it to the names in your report.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    #1 Best Overall
    Sale
    The IXL Ultimate 3rd Grade Math Workbook, Activity Book for Kids Ages 8-9 Covering Addition, Subtraction, Multiplication, Division, Fractions, Geometry, and More Mathematics (IXL Ultimate Workbooks)
    • Carefully designed questions: Ensuring a solid understanding of concepts
    • Engaging activities: Offering a mix of enjoyable exercises
    • Problem-solving techniques: Providing strategies for tackling challenges
    • Vibrant, full-color visuals: Enhancing learning with captivating illustrations
  4. If you ran the test with a non-default configuration file, pass the same config path to approval, for example backstop approve --config=backstop.config.js --filter='checkout.*desktop'. Replace the example path and expression with the values used by your project.

  5. Review the updated references or run the test again to check that the intended captures now compare against the accepted baseline.

    Rank #2
    YAFIYGI Eye Chart Snellen and Rosenbaum Combo Vision Test Card for Exams Near Point Charts for Professional and Pediatric Use 2 in 1 Eye Exam Chart Set Kids Gifts Eye Exams and Vision Screening 2 PCS
    • Dual Functionality: Our Pocket Eye Chart set includes both the 2 eye charts, offering a versatile solution for measuring visual acuity at a distance and in limited spaces. This 2-in-1 design caters to various vision testing needs
    • Compact and Convenient: Sized at 6.5*3.5 inches, these pocket eye charts are designed for portability. Whether you're a professional optometrist, student, or need a handy tool for vision tests on the go, our compact pocket eye chart set fits conveniently in your pocket 
    • Color Vision Test: The eye chart features Red and Green color bars, providing an easy and helpful color vision test. This additional feature enhances the versatility of our pocket eye chart set, making it suitable for a range of vision examinations
    • Durable and Washable: Crafted from durable plastic, our pocket eye charts are built to last. The washable material ensures easy maintenance and hygiene, making them ideal for repeated use in optometry practices, schools, and offices
    • Pupil Gauge and Non-Reflective:The plastic pocket eye chart includes a pupil gauge, adding practicality to vision examinations. The non-reflective surface ensures accurate readings. This set is a reliable tool for professionals and a handy resource for quick vision assessments

The official BackstopJS README documents --filter=<image_filename_regex> for restricting approval to matching image filenames.

What the approval filter does—and does not do

backstop approve updates the reference collection from the most recent test batch. If you omit its filter, BackstopJS promotes all images with changes from that batch. With the filter, it promotes only captures whose image filenames match the regular expression.

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

Do not confuse the approval filter with the test filter. backstop test --filter=<scenarioLabelRegex> selects scenarios to run. backstop approve --filter=<image_filename_regex> selects captures to promote. Filtering the test run does not itself express which of its changed captures you want to approve; inspect the report and use the approval filter when accepting only part of the batch.

Keep comparison thresholds separate from approval selection

BackstopJS comparison options determine how image differences are judged, not which images become references. The README lists misMatchThreshold with a default of 0.1, and documents requireSameDimensions (default true) for whether a screenshot dimension change causes a failure. Changing either setting does not replace the filename filter when you need selective approval.

Rank #4
Morning and Bedtime Routine Chart with 12 visual symbols pecs cards by Create Visual Aids to support routine, transition for children, autism, aspergers, ADHD, speech and language delay.
  • Creating calmer and happier mornings and bedtimes for the whole family by showing your child what they need to do to get ready.
  • Encourages independence and therefore boosts self esteem as children are no longer dependent on you reminding them what comes next.
  • Allows for processing time - the pictures, or pecs cards for autism, don't disappear like words do and therefore these are great for children with special educational needs, autism, ADHD, speech and language delay, ASD.
  • Eliminates the need for you to nag - children can see what they need to do for themselves in this routine chart.
  • Pictures cards can be moved around thanks to being attached using VELCRO Brand hook and loop, meaning you can order the routine to suit your family.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting selective approval

Or skip the browser setup

For a single fresh screenshot outside a BackstopJS baseline workflow, ScreenshotNeo provides a one-request screenshot API. Its response can be a PNG, JPEG, WebP, or PDF, and the parameters used by other screenshot APIs also work, which can make switching easier.

cURL example, adapted to a target URL:

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

See the ScreenshotNeo API documentation for setup and options. It accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. An MCP server offers take_screenshot, get_page_info, and capture_pdf tools for AI agents. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000.

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

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

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.

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. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

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.