Free tools Windows power users keep installed
One-click scans. No signup required.
If a headed Playwright run opens a Chromium window but shows only its border or a transparent surface, first check the display server, then confirm the page navigated, verify the viewport and DOM, and only then investigate the browser binary or rendering. A visible window does not prove the page loaded—or that the machine can display it. This sequence separates those causes without starting with guesswork or GPU flags.
What a border-only Chromium window tells you
Chromium has launched, but the window’s page surface is not giving you a useful view. That can happen because the environment cannot display a headed browser correctly, because the test never left about:blank, because the page or viewport is effectively invisible, or because the chosen browser target or page rendering is at fault. The symptom alone does not identify which one.
A Stack Overflow question published on November 25, 2022 describes Chromium in WSL as “transparent and only border is visible.” That is a reported symptom, not an official diagnosis or evidence that WSL is always the cause. Check the display setup when you see it, but verify navigation and page state too.
Playwright runs browsers headlessly by default. To see a browser window, use a headed run; headed mode, in turn, requires a functioning graphical display.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Start with a minimal, repeatable headed run
Reduce the test to one browser, one fixed viewport, and one known navigation. In a Playwright Test project, set the relevant options in playwright.config.ts:
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
browserName: 'chromium',
headless: false,
viewport: { width: 1280, height: 720 },
},
});
Then use the Inspector to step through the run:
npx playwright test --project=chromium --debug
If the project has no project named chromium, omit that filter:
npx playwright test --debug
The --debug mode launches browsers headed and opens the Playwright Inspector, where you can step through actions and inspect the DOM snapshot and actionability log. For a quick command-line headed run without the Inspector, use --headed:
npx playwright test --project=chromium --headed
For tests using the Playwright library directly rather than the test runner, make the launch choice explicit and slow actions down temporarily so they are observable:
import { chromium } from 'playwright';
const browser = await chromium.launch({
headless: false,
slowMo: 250,
});
const page = await browser.newPage({
viewport: { width: 1280, height: 720 },
});
try {
await page.goto('https://example.com');
console.log('URL:', page.url());
console.log('Title:', await page.title());
console.log('Body:', (await page.locator('body').innerText()).slice(0, 500));
} finally {
await browser.close();
}
Replace https://example.com with the page under test. The slowMo delay is for observation, not a synchronization fix; remove it once diagnosis is complete. In either style, keep the viewport fixed while comparing runs so the host window size does not add another variable.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Check the display server in WSL, Linux, or CI
A headed browser needs a working graphical display. On a desktop, confirm the session is active. In WSL or a Linux CI environment, check that DISPLAY points to a live X server. A set variable is not proof that a usable server is available: the server must be running and reachable from the process that launches Playwright.
- Check whether a display is configured. In a shell, run
echo "$DISPLAY". If it is empty, the process has no X display configured. - Check that the configured display is live. If the value is present but Chromium is still transparent or fails to draw, verify the X server and the connection from the shell, container, or CI job running the test.
- Choose the right execution mode. If the environment has no desktop, run the headed test under Xvfb or use headless mode. Xvfb supplies a virtual display for graphical applications; it does not change what the test asserts or repair an application defect.
When the same test works on a desktop but not in WSL or CI, compare the display environments before changing the test or Chromium flags. When the display is known to work, continue through navigation and DOM checks rather than treating the border as proof of an X-server problem.
Prove that the test navigated and the page has content
A browser left on about:blank may be doing exactly what the test asked it to do. Add checks immediately after the navigation call, before changing launch flags:
await page.goto('https://your-app.example');
console.log('URL:', page.url());
console.log('Title:', await page.title());
console.log('Body:', (await page.locator('body').innerText()).slice(0, 500));
Interpret the results together:
- The URL is still
about:blank: the expected navigation did not happen, or the code is checking a different page than the one it navigated. Find the path topage.gotoand check which page instance the test uses. - The URL changed but the body is empty: check whether the application has rendered yet, whether the expected content is in a frame, or whether the page is displaying an overlay or error state.
- The URL and body are correct: the browser reached a document with content. Move on to viewport geometry and visibility rather than assuming navigation is the failure.
Wait for the application’s actual readiness signal—for example, a locator that represents the page state the test needs—rather than adding an arbitrary sleep. A fixed delay may make a slow run appear to work while leaving the underlying race unresolved.
Frames and popups can complicate the picture. Chromium’s handling of about:blank popups and document-written frames can mean expected frame content is not immediately visible to Playwright. Check the page and frame context that your test is inspecting; do not assume that content written into a frame has navigated the main page.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Verify viewport size, page geometry, and visibility
Playwright’s normal test configuration uses a fixed viewport. Setting viewport: null opts out of that size and lets the host window determine the viewport. That can be useful when the test is intentionally meant to use the host dimensions, but it makes diagnosis less repeatable across desktops, WSL, and CI. Start with an explicit viewport instead.
Record what the page reports from inside the page:
console.log(await page.evaluate(() => ({
innerWidth: window.innerWidth,
innerHeight: window.innerHeight,
devicePixelRatio: window.devicePixelRatio,
})));
Then inspect the element you expect to see. For example:
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →const app = page.locator('#app');
console.log('App visible:', await app.isVisible());
console.log('App box:', await app.boundingBox());
Use your application’s real root selector in place of #app. An element with display: none or an empty bounding box is not visible to Playwright. Also check the page root and relevant container for zero dimensions, hidden styles, or an overlay covering the content. A non-empty body does not by itself mean that the expected application surface is visible.
Confirm which Chromium build Playwright is launching
Playwright’s browser targets are not interchangeable. It ships a regular Chromium build for headed operation and a separate Chromium headless shell for headless mode. Branded Chrome or Edge channels can behave differently from Playwright’s bundled browser. If the binary or channel changed recently, isolate that variable before investigating page rendering.
- Install Chromium for the Playwright version used by the project:
npx playwright install chromium. - Retry with the bundled Chromium and no custom
executablePath. - Remove experimental launch flags temporarily, then add any required flags back one at a time.
- If the issue occurs only with a Chrome or Edge channel, compare against the bundled Chromium to determine whether the channel is involved.
A clean bundled-browser run does not prove that every browser channel will display identically. It does tell you whether the problem is specific to the channel or executable you were using.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Collect evidence before changing rendering flags
Use Playwright’s Inspector, DOM snapshot, actionability log, and API logs to establish where the failure occurs. To enable verbose Playwright API logging on macOS or Linux:
DEBUG=pw:api npx playwright test --project=chromium --debug
In PowerShell, set the environment variable for the command:
$env:DEBUG="pw:api"
npx playwright test --project=chromium --debug
Capture a screenshot and trace after the first navigation. If the screenshot is blank but the URL and DOM are populated, that is different evidence from a test that never navigated or a process without a working display. Compare the Inspector’s DOM and actionability information with the screenshot to locate the gap: before navigation, inside a frame, in application rendering, or at the display layer.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Investigate rendering only after the basics check out
If the URL, body text, viewport, and DOM snapshot all look right but the visible surface remains blank, compare headed and headless runs and inspect the rendering path that the page actually uses. Check application CSS, canvas or WebGL output, frames, and overlays. A page can have a valid DOM while a particular visual surface fails to appear.
Change GPU-related flags only as a controlled test: remove or add one at a time and compare the result. Do not assume --disable-gpu is the fix. It changes rendering behavior, may hide the original cause, and is not a substitute for finding whether the problem lies in the display, page, or browser target.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Troubleshoot by symptom
| Symptom | Likely area to check | Next action |
|---|---|---|
| Transparent or border-only window in WSL/Linux | Display server or its connection to the test process | Verify that DISPLAY points to a live X server; use Xvfb or headless mode if there is no desktop. |
Window appears, but the URL remains about:blank |
Navigation path or page instance | Log page.url() immediately after page.goto; confirm the test navigates the page being inspected. |
| URL changes, but expected content is missing | Readiness, frame context, or application state | Inspect the title and body, wait for an application readiness locator, and check the relevant frame or overlay. |
| Content exists in the DOM but is not visible | Viewport, geometry, or styles | Record viewport dimensions and device scale; inspect the expected element’s visibility and bounding box. |
| Only a custom executable or browser channel fails | Browser binary or channel | Install and test Playwright’s bundled Chromium without a custom executable path or experimental flags. |
| DOM and URL look correct, but pixels are blank | Rendering path or page implementation | Compare headed and headless, capture a trace and screenshot, and isolate CSS, canvas/WebGL, frame, overlay, or GPU-flag behavior. |
Or skip the browser setup
If your goal is a screenshot of a URL rather than debugging a Playwright test, ScreenshotNeo is a website screenshot API and MCP server: one GET request can return a PNG, JPEG, WebP, or PDF. It does not replace Playwright when you need to test interactions, assertions, or application behavior.
For a quick capture, use cURL (replace the URL with the page you need):
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 available parameters. Cookie banners are accepted and removed before the shot, along with supported newsletter popups and chat widgets. Bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for free and get 1,000 screenshots a month with no card.
Frequently Asked Questions
Does seeing a Chromium window mean the page loaded?
No. Check page.url() and the document content; a visible browser window can still be on about:blank.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Should I set viewport: null to fix a transparent window?
Not as a first diagnostic step. Use a fixed viewport for repeatable results; viewport: null delegates sizing to the host window.
Is a border-only Chromium window a known WSL-only problem?
No. The symptom has been reported in WSL, but the symptom alone does not establish its cause or make it specific to WSL.
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.

