Storybook gives you reusable component cases for checking rendering and interactions, but its default test setup does not automatically test every browser. For reliable coverage, combine story-based render and interaction tests with visual comparisons and browser-level end-to-end tests, then explicitly configure the browser engines your project supports.
What cross-browser Storybook testing should cover
A Storybook story captures a component in a particular state, such as an open menu, validation error, or loading indicator. That makes stories useful test cases: a test can render the story, run its play function after rendering, and assert what the user can see or do. Storybook documents story-based render checks, interaction tests, accessibility checks, and visual regression as complementary ways to test UI. Storybook’s testing guide
- Rendering: Does the component load in the test browser without an error?
- Behavior: Do interactions such as opening a dialog or submitting a form produce the expected result?
- Accessibility: Do the checks you configure detect relevant accessibility issues? A passing render or screenshot alone does not establish accessibility.
- Visual changes: Does the rendered appearance differ from an approved baseline?
- Application workflows: Does the component work in context as part of a larger user journey?
These checks answer different questions. A component story can make a state easy to reuse, but component tests do not by themselves cover every application workflow.
Choose the test path that matches your project
| Approach | What it is suited to | Important constraint |
|---|---|---|
| Storybook Vitest addon | Story-derived browser tests for component rendering and behavior; can be combined with accessibility testing. | Current documentation requires a Vite-based Storybook framework and Vitest 3 or later. The recommended browser setup uses Playwright Chromium, so that default alone is not multi-browser coverage. Storybook Vitest addon documentation |
| Storybook test-runner | Visits stories in a running Storybook and checks rendering and play-function assertions. | It is based on Jest and Playwright, works across Storybook frameworks, and requires a running Storybook instance. Storybook test-runner documentation |
| Playwright or Cypress end-to-end tests reusing stories | Open component cases in broader browser automation, including workflows beyond an isolated story. | Configure the browser engines and versions that correspond to your support commitments; no universal browser matrix is prescribed. Storybook guide to stories in end-to-end tests |
| Chromatic visual testing | Hosted visual comparison of stories across browsers. | Visual comparison is a separate layer, not proof that behavior, accessibility, or full application workflows work. Storybook describes Chromatic as its cloud service for cross-browser visual testing. Storybook’s testing guide |
Storybook’s migration guide describes the Vitest addon as the successor to the older Jest-based test-runner. The practical choice depends on your Storybook framework, installed versions, whether you can use a Vite-based setup, and whether running a Storybook server in CI fits your workflow. Migration guide
Free tools Windows power users keep installed
One-click scans. No signup required.
#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.
Set a browser matrix before calling a suite cross-browser
“Cross-browser” should mean the browsers and versions your team has chosen to support—not an unspecified claim of testing everywhere. Write down the target engines and versions, then make sure your CI jobs actually launch them. Keep the matrix proportionate to the user impact and the cost of maintaining additional jobs.
- Record the supported desktop and mobile browsers relevant to your product.
- Choose a browser-level test path when you need more than the addon’s documented Chromium default.
- Separate visual-diff coverage from interaction assertions and end-to-end workflow coverage.
- Review the matrix when your browser-support policy, framework, or test tooling changes.
Storybook documents using stories in Playwright or Cypress end-to-end automation; its guide also describes Playwright’s cross-browser automation, device emulation, and headless testing capabilities. Your actual coverage still depends on the browsers you configure and run. Stories in end-to-end tests
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.
Set up story-based tests with the Vitest addon
The current addon documentation specifies a Vite-based Storybook framework and Vitest 3 or later. It documents Next.js support for Next.js 14.1 or later when using @storybook/nextjs-vite. Its automatic setup enables browser mode with Playwright Chromium and may prompt you to install Playwright browser binaries. Check the current requirements against your installed versions before applying setup instructions. Vitest addon requirements
- Confirm that your Storybook framework is Vite-based and that your Vitest version meets the documented minimum.
- Follow the addon’s setup for your Storybook version and framework; use its generated configuration rather than copying commands from a different release.
- Ensure the Playwright Chromium binary is installed where the tests run, including in CI.
- Create stories for meaningful states, then add
playfunctions for user actions and assertions. - Run the tests locally and in CI. If you need multiple browser engines, add a browser-automation layer configured for those engines rather than assuming the default Chromium run covers them.
A play function runs after the story renders, allowing the same interaction scenario to be exercised through Storybook’s testing integrations. Storybook play function documentation For general component testing context, see Storybook’s component-testing guide.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
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.
Use the test-runner when its framework support fits better
The test-runner visits stories in a running Storybook and runs checks, including play-function assertions. It is based on Jest and Playwright and is documented as framework-agnostic, unlike the Vitest addon’s Vite-based framework requirement. Its main operational difference is that you need a Storybook instance available to the runner, which typically means arranging that server as part of local or CI test execution. Test-runner documentation Migration guide
Extend coverage to browser workflows and visual changes
Reuse stories in end-to-end automation
When an issue may depend on a broader page or user journey, use browser-level automation and reuse relevant stories as cases. This extends a component example into an actual browser test, but it does not eliminate the need for tests of the application’s integrated workflows. Select the engines and device configurations explicitly. Storybook’s end-to-end testing guide
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
Add visual regression as its own signal
Storybook identifies Chromatic as its cloud service for cross-browser visual testing. Visual diffs can flag appearance changes in stories; they do not establish that a control behaves correctly or that an end-to-end workflow succeeds. Pair visual comparison with the interaction and workflow assertions your product needs. Storybook testing documentation
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Troubleshoot common setup failures
- The Vitest addon setup does not match the project: Check whether the Storybook framework is Vite-based and whether Vitest is version 3 or later, as required in the current addon documentation. For the documented Next.js path, verify Next.js 14.1 or later and
@storybook/nextjs-vite. - Tests fail because a browser executable is missing: The documented automatic setup may prompt installation of Playwright browser binaries. Install the required binary in the environment that runs the tests, including CI.
- A test passes but another browser still breaks: A default Chromium run is not evidence of coverage in other engines. Configure and execute those browsers through your browser-level automation path.
- The test-runner cannot reach stories: It visits a running Storybook, so make sure the server is started and accessible to the test process.
- A visual test passes while an interaction is broken: Visual comparison checks appearance, not interaction behavior. Add a play-function assertion or an end-to-end interaction test for the behavior.
- A component test passes but a user journey fails: Isolated story coverage is not full application coverage. Add end-to-end tests for the integrated workflow.
Or skip the browser setup
For capturing a website image or PDF—not for running Storybook component assertions—ScreenshotNeo offers a screenshot API and MCP server. One request can return a screenshot; consult the API documentation for parameters and response details.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsBest 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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
- Cookie and consent banners, newsletter popups, and chat widgets are removed before capture; each of those steps can be turned off.
- Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed; response headers indicate the page verdict and billing status.
- An MCP server provides
take_screenshot,get_page_info, andcapture_pdffor AI agents and MCP clients. - The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.
Sign up for ScreenshotNeo’s free plan.
ScreenshotNeo is not a replacement for browser-based component tests: use it when you need website screenshots, not assertions that a Storybook component works across browser engines. Learn more at ScreenshotNeo.
Frequently Asked Questions
Does the Storybook Vitest addon test Firefox or WebKit by default?
The documented recommended setup uses Playwright Chromium. That default does not establish Firefox or WebKit coverage.
Do I need Chromatic if I already have interaction tests?
Only if hosted visual comparison is useful to your workflow; interaction assertions and visual regression detect different kinds of problems.
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.

