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 desk4 min

How to Fix Selenium Screenshots That Render Emojis as Boxes in Chrome

When Selenium screenshots show emojis as boxes, check the fonts available to the Chrome runtime first. Here’s a diagnostic sequence for local, CI, and container setups.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If emojis appear as empty boxes in Selenium screenshots, first check the fonts available to the exact machine or container running Chrome. Chrome needs a font containing each character’s glyph; if its CSS font choices and system fallback fonts cannot supply one, it renders a missing-glyph box. This is usually a font-availability problem, not a screenshot encoding problem.

Why Chrome renders emojis as boxes

Chrome shapes page text using the requested CSS fonts and fallback fonts. Chromium’s Blink text-stack documentation explains that font selection tries the primary font, then secondary fonts and system fallback until no “.notdef” glyphs remain—the boxes used when no glyph is found. A page can therefore contain the correct Unicode characters while Chrome cannot find a usable font glyph to display them.

As an Amazon Associate I earn from qualifying purchases.

A screenshot records the rendered pixels; Selenium does not supply or draw emoji glyphs. Check the environment that launched Chrome: a CI worker, container, remote Selenium node, or local computer may have a different font inventory from your development workstation. The relevant font package and installation steps depend on the operating system and distribution.

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

Diagnose the missing emoji glyph

  1. Confirm the characters are in the page

    Inspect the affected text in the DOM and record the exact emoji sequence. If the intended Unicode characters are present but the screenshot shows boxes, prioritize font coverage and fallback rather than changing screenshot encoding.

    #1 Best Overall
    Emoji Keyboard -Cute,Emoticons
    • 1.Add photo keyboard support
    • 2.More themes and symbols
  2. Check fonts where Chrome actually runs

    Identify the operating system and distribution of the Selenium host, container, or remote node. Check whether an emoji-capable font that covers the exact characters is installed and discoverable by that runtime. Do not assume a font installed on your workstation is also present in a container or CI image.

  3. Check custom web-font loading and coverage

    If the page uses a web font, verify that its request succeeds and that the font includes the emoji glyphs. Chromium uses web fonts during CSS font resolution and can fall back to system fonts when the requested fonts do not cover the text run. A custom font that loads successfully may still lack the needed glyphs.

    Rank #2
    Facemoji Emoji Keyboard Pro
    • ★ Easy to send 5000+ Emoji, Emoticon, Free Stickers, Emoji Art, Text Art, Symbols, GIF
    • ★ Whatsapp Sticker keyboard and GIF keyboard
    • ★ TikTok Keyboard with TikTok Emojis
    • ★ Custom Keyboard & Photo Keyboard + Fancy Keyboard Themes
    • ★ Cool Fonts Keyboard
  4. Restart Chrome and repeat the capture

    After changing the runtime’s fonts, restart the Chrome process so the new browser session uses the updated environment. Capture the same page and emoji string again to see whether the rendering changes.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  5. Compare headless and headful on the same host

    If boxes remain, compare a headless and a headful session on the same machine. Modern Chrome Headless shares browser code with headful Chrome, so a difference is a reason to investigate configuration and environment details—not proof that headless uses a separate rendering engine. Chrome 112 changed Headless to create platform windows without displaying them; that does not make font inventories identical across different hosts.

    Rank #3
    Kika Emoji Keyboard - GIF Free
    • 800+ Emoji & Emoticons
    • Colorful Themes
    • Search & Send Animated GIFs
    • Swipe-to-Type
    • Word Predictions & Suggestions
  6. Verify the browser and driver separately

    Confirm which Chrome binary Selenium launched and check that Chrome and ChromeDriver match by major version. ChromeDriver accepts ChromeOptions for arguments and binary selection. These checks can uncover setup mismatches, but the official documentation does not identify a WebDriver option or driver upgrade that supplies absent emoji glyphs.

Use the symptom to narrow the cause

What you observe What to investigate
The DOM contains the emoji, but the screenshot shows a box. Check whether the runtime has an emoji-capable font with coverage for that character or sequence, then check the font fallback path.
The page uses a custom web font. Check whether its request succeeds and whether the font contains the needed glyph; system fallback may be required for characters it lacks.
Headful works but headless does not on the same host. Compare browser launch configuration and session details. Shared browser code does not rule out configuration differences.
The issue appears only on one CI worker, container, or remote node. Compare that runtime’s operating system and available fonts with the working host.
Chrome or ChromeDriver fails to launch or behaves inconsistently. Confirm the selected Chrome binary and matching major versions. Treat this as a browser setup check, distinct from missing glyph coverage.

Common misdiagnoses and limits

  • “It must be headless.” Modern Headless shares browser code with headful Chrome. Different machines can still have different fonts, so compare sessions on the same host before drawing conclusions.
  • “Upgrade ChromeDriver to add emoji support.” Matching Chrome and ChromeDriver major versions is a sound setup check, but it does not install fonts or establish glyph coverage.
  • “Change the screenshot encoding.” If the page DOM contains the intended characters but Chrome paints boxes, investigate text shaping and font fallback first.
  • “Install this one Linux package everywhere.” The correct package and command depend on the distribution and runtime. Identify those details before selecting an installation method.

Or skip the browser setup

If you need a screenshot without managing a browser runtime, ScreenshotNeo provides a website screenshot API and MCP server. Its API accepts a URL in one GET request; for example, this cURL call saves a WebP screenshot of the page:

Rank #4
Pink Knot Emoji Keyboard Theme
  • Pink Knot Emoji Keyboard Theme for Emoji Keyboard.
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 request options. Cookie and consent banners, newsletter popups, and chat widgets are removed before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. An MCP server lets AI agents use the take_screenshot, get_page_info, and capture_pdf tools. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 shots.

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.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Can a Selenium screenshot setting make Chrome render a missing emoji glyph?

The official documentation cited here does not identify a Selenium screenshot flag that supplies absent font glyphs. Check font availability and coverage in the Chrome runtime.

Best Value
Logitech POP Keys Mechanical Wireless Keyboard with Customizable Emoji, Durable Compact Design, Bluetooth or USB Connectivity, Multi-Device, OS Compatible - Blast Yellow
  • Get loud, get retro: Shout your inner retro out loud with a bold color combination of black, grey and arcade game yellow, allowing you to make a performance with POP Keys wireless keyboard in Blast

Why does the same page render emojis on my computer but not in CI?

The environments may have different installed or discoverable fonts. Check the font inventory on the CI machine or container that launches Chrome.

Quick Recap

Bestseller No. 1
Emoji Keyboard -Cute,Emoticons
Emoji Keyboard -Cute,Emoticons
1.Add photo keyboard support; 2.More themes and symbols
Bestseller No. 2
Facemoji Emoji Keyboard Pro
Facemoji Emoji Keyboard Pro
★ Easy to send 5000+ Emoji, Emoticon, Free Stickers, Emoji Art, Text Art, Symbols, GIF; ★ Whatsapp Sticker keyboard and GIF keyboard
Bestseller No. 3
Kika Emoji Keyboard - GIF Free
Kika Emoji Keyboard - GIF Free
800+ Emoji & Emoticons; Colorful Themes; Search & Send Animated GIFs; Swipe-to-Type; Word Predictions & Suggestions
Bestseller No. 4
Pink Knot Emoji Keyboard Theme
Pink Knot Emoji Keyboard Theme
Pink Knot Emoji Keyboard Theme for Emoji Keyboard.

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
PC Slower Than It Used to Be?Free scan - under a minute

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.