# cypress | Cypress.io | Knowledge Base | Instagit

Fast, easy and reliable testing for anything that runs in a browser.

GitHub Stars: 50.1k

Repository: https://github.com/cypress-io/cypress

---

## Articles

### [How to Analyze Cypress Performance: Built‑In Metrics, TelemetryManager, and CI Reporting](/cypress-io/cypress/how-to-analyze-cypress-performance)

Analyze Cypress performance with built in metrics, TelemetryManager, and CI reporting. Learn how to use perf_hooks and export data to external services for deeper insights.

- Tags: performance
- Published: 2026-08-06

### [Cypress Monorepo CI/CD Setup: How CircleCI Powers the Build Pipeline](/cypress-io/cypress/what-is-the-ci-cd-setup-for-the-cypress-monorepo)

Learn how the Cypress monorepo leverages CircleCI for a powerful CI/CD setup. Explore its modular configuration for Linux, macOS, and Windows builds with automated publishing.

- Tags: how-to-guide
- Published: 2026-08-06

### [Where to Find Examples of Cypress Usage: 4 Official Sources Explained](/cypress-io/cypress/where-to-find-examples-of-cypress-usage)

Discover where to find Cypress usage examples. Explore the monorepo, minimal package, kitchen-sink repo, and documentation examples for quick learning.

- Tags: getting-started
- Published: 2026-08-06

### [How to Integrate Custom Commands in Cypress: A Complete Guide with Code Examples](/cypress-io/cypress/how-to-integrate-custom-commands-in-cypress)

Learn how to integrate custom commands in Cypress using Cypress.Commands.add() and Cypress.Commands.overwrite() with code examples. Enhance your testing workflow today.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Build Cypress from Source: A Complete Guide for Contributors and Custom Builds](/cypress-io/cypress/how-to-build-cypress-from-source)

Learn how to build Cypress from source with this comprehensive guide. Install dependencies, compile the CLI, and build the Electron binary for custom builds and contributions.

- Tags: how-to-guide
- Published: 2026-08-06

### [Cypress Dependencies: Complete Guide to the Monorepo's External Packages](/cypress-io/cypress/what-are-the-dependencies-of-the-cypress-project)

Explore Cypress dependencies with this guide. Understand external packages in the monorepo, managed by Yarn workspaces and root package.json for efficient development.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Fork and Modify Cypress Code: A Complete Guide to Contributing](/cypress-io/cypress/how-to-fork-and-modify-cypress-code)

Learn how to fork and modify Cypress code. Clone the monorepo, install dependencies, and run yarn dev for hot-reloading. Contribute to Cypress today.

- Tags: how-to-guide
- Published: 2026-08-06

### [Where Are Cypress Configuration Files Located? A Complete Guide to Config Discovery and Loading](/cypress-io/cypress/where-are-the-configuration-files-for-cypress-located)

Find your Cypress configuration files. Learn where cypress.config.{js,ts,mjs,cjs} are located and how Cypress loads them automatically in your project root.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Cypress Handles Different Environments Within Its Monorepo: A Deep Dive into CYPRESS_INTERNAL_ENV](/cypress-io/cypress/how-does-cypress-handle-different-environments-within-the-monorepo)

Discover how Cypress manages different environments in its monorepo using the CYPRESS_INTERNAL_ENV variable. Understand its impact on CLI, server, and build pipelines.

- Tags: deep-dive
- Published: 2026-08-06

### [Core Concepts of the Cypress Architecture: A Deep Dive into the Monorepo Structure](/cypress-io/cypress/what-are-the-core-concepts-of-the-cypress-architecture-as-seen-in-the-monorepo)

Explore Cypress architecture and its monorepo structure. Understand the separation of CLI, test driver, network stack, and GUI for a modular testing platform.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Identify Feature Names in Cypress Source Code: A Complete Guide](/cypress-io/cypress/how-to-identify-feature-names-in-cypress-source-code)

Discover how to find feature names in Cypress source code by exploring the FeatureFlag enum and related type definitions. Master Cypress feature flag identification.

- Tags: how-to-guide
- Published: 2026-08-06

### [Where to Find Cypress Internal APIs Documentation: A Developer’s Guide](/cypress-io/cypress/where-can-i-find-documentation-for-cypress-internal-apis)

Find Cypress internal APIs documentation within the cypress-io/cypress monorepo. Explore JSDoc comments and type definitions in package index.ts files for clear insights.

- Tags: api-reference
- Published: 2026-08-06

### [How to Debug Cypress Code Within the Monorepo: Node, Electron, and Browser Strategies](/cypress-io/cypress/how-to-debug-cypress-code-within-the-monorepo)

Debug Cypress code in your monorepo using Node Inspector, Chrome DevTools, and cy debug. Learn strategies for Node, Electron, and browser runtimes to find and fix bugs faster.

- Tags: how-to-guide
- Published: 2026-08-06

### [What Build Tools Are Used in the Cypress Monorepo?](/cypress-io/cypress/what-build-tools-are-used-in-the-cypress-monorepo)

Discover the build tools powering the Cypress monorepo. Explore Yarn Lerna Vite Webpack Packherd and V8-snapshot for efficient development.

- Tags: internals
- Published: 2026-08-06

### [How to Run Tests Within the Cypress Monorepo](/cypress-io/cypress/how-to-run-tests-within-the-cypress-monorepo)

Learn to run tests in the Cypress monorepo using yarn test-unit at the root or yarn workspace for specific packages. Filter specs with file paths or grep patterns.

- Tags: how-to-guide
- Published: 2026-08-06

### [What Are the Main Packages in the Cypress Monorepo? Workspace Guide for Contributors](/cypress-io/cypress/what-are-the-main-packages-in-the-cypress-monorepo)

Discover the main packages in the Cypress monorepo: cli, packages, npm, tooling, system-tests, and scripts. Understand the Cypress architecture and contribute effectively.

- Tags: internals
- Published: 2026-08-06

### [How to Contribute to the Cypress Monorepo: A Complete Developer's Guide](/cypress-io/cypress/how-to-contribute-to-the-cypress-monorepo)

Learn how to contribute to the Cypress monorepo. Follow our guide for Nodejs, Yarn, and CircleCI integration to submit your first pull request.

- Tags: how-to-guide
- Published: 2026-08-06

### [Core Source Files in Cypress Development: A Deep Dive into Architecture and Roles](/cypress-io/cypress/what-is-the-role-of-specific-source-files-in-cypress-development)

Explore core Cypress source files in cli packages driver and launcher. Understand their roles in CLI entry browser automation network interception and error handling for robust test development.

- Tags: deep-dive
- Published: 2026-08-06

### [How Cypress Features Are Implemented Within the Monorepo: A Complete Architectural Guide](/cypress-io/cypress/how-are-cypress-features-implemented-within-the-monorepo)

Discover how Cypress implements features within its monorepo architecture. Learn about the roles of packages driver server proxy and net stubbing communicating via WebSocket and GraphQL.

- Tags: architecture
- Published: 2026-08-06

### [Where to Find Cypress API Definitions in the Monorepo: Complete File Guide for Contributors](/cypress-io/cypress/where-to-find-cypress-api-definitions-in-the-monorepo)

Locate Cypress API definitions within the cypress-io/cypress monorepo. Find Node.js CLI types in cli/types/ and browser types in packages/driver/types/. Essential guide for contributors.

- Tags: internals
- Published: 2026-08-06

### [How to Navigate the Cypress Monorepo Structure: A Complete Guide for Contributors](/cypress-io/cypress/how-to-navigate-the-cypress-monorepo-structure)

Master the Cypress monorepo structure with this guide. Understand the six primary workspaces and their roles to contribute effectively to the Cypress project.

- Tags: how-to-guide
- Published: 2026-08-06

### [Key Source Files in the Cypress Monorepo: A Developer's Guide to the Core Architecture](/cypress-io/cypress/what-are-the-key-source-files-in-the-cypress-monorepo)

Explore key source files in the Cypress monorepo and understand its core architecture. Discover CLI entry orchestrator test driver and proxy files.

- Tags: internals
- Published: 2026-08-06

### [How to Set Up the Cypress Monorepo Locally: A Complete Development Guide](/cypress-io/cypress/how-to-set-up-cypress-monorepo-locally)

Learn how to set up the Cypress monorepo locally. Follow our complete guide to clone the repo, install dependencies, and start local development for the Cypress application.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Cypress Handles Electron Binary Distribution and Auto-Updates](/cypress-io/cypress/how-cypress-handles-electron-binary-distribution-and-auto-updates)

Discover how Cypress manages Electron binary distribution and auto-updates. Learn about its self-contained runtime and automatic update checks for a seamless developer experience.

- Tags: internals
- Published: 2026-07-13

### [How Cypress Implements the Mocha Test Runner Integration: A Deep Dive into the Driver Architecture](/cypress-io/cypress/how-cypress-implements-mocha-test-runner-integration)

Discover how Cypress integrates Mocha for testing. Learn about its driver architecture, fresh Mocha instances per spec, and prototype patching for efficient testing.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Integrates with CI/CD Pipelines and Provides Exit Codes](/cypress-io/cypress/how-cypress-integrates-with-ci-cd-pipelines-and-provides-exit-codes)

Learn how Cypress detects CI environments and uses deterministic exit codes to signal test outcomes for seamless integration with your CI/CD pipelines.

- Tags: how-to-guide
- Published: 2026-07-12

### [How Cypress Handles TypeScript Compilation and ESM Modules in Spec Files](/cypress-io/cypress/how-cypress-handles-typescript-compilation-and-esm-modules-in-spec-files)

Discover how Cypress seamlessly handles TypeScript compilation and ESM modules in spec files using esbuild and a custom Node.js loader for efficient testing.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Implements Custom Commands and the Command Queue](/cypress-io/cypress/how-cypress-implements-custom-commands-and-command-queue)

Discover how Cypress implements custom commands and the command queue. Learn about deterministic scheduling, automatic retries, and failure propagation for robust test automation.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Handles WebSocket Connections and Real-Time Communication](/cypress-io/cypress/how-cypress-handles-websocket-connections-and-real-time-communication)

Learn how Cypress handles WebSocket connections and real-time communication using its dedicated real-time layer. Discover how bidirectional messaging works between the test runner, browser, and driver.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Implements the Cypress.on() and cy.on() Event System](/cypress-io/cypress/how-cypress-implements-cypress-on-and-cy-on-event-system)

Discover how Cypress implements its event system using EventEmitter2 and the $Cy class. Learn how Cypress.on() and cy.on() provide a unified event API for seamless testing.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Handles Viewport Resizing and Device Emulation: A Deep Dive into the Source Code](/cypress-io/cypress/how-cypress-handles-viewport-resizing-and-device-emulation)

Explore how Cypress handles viewport resizing and device emulation via the cy viewport command. Discover the source code and protocols that sync changes across Cypress layers.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Handles File Downloads in Headless and Headed Modes](/cypress-io/cypress/how-cypress-handles-file-downloads-in-headless-and-headed-modes)

Learn how Cypress manages file downloads across headed and headless modes. Discover its interception methods and customizable downloads folder for consistent testing.

- Tags: how-to-guide
- Published: 2026-07-12

### [How Cypress Implements Sessions and Authentication State Management](/cypress-io/cypress/how-cypress-implements-sessions-and-authentication-state-management)

Learn how Cypress manages authentication state and sessions. Discover its in-memory cache, WebSocket persistence, and secure handling of cookies, localStorage, and IndexedDB.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Handles Navigation Events and Detects Page Load Transitions: A Deep Dive into the Driver Layer](/cypress-io/cypress/how-cypress-handles-navigation-events-and-detects-page-load-transitions)

Discover how Cypress handles navigation events and detects page load transitions. Learn about the driver layer's event monitoring and state management for seamless testing.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Handles the Application Under Test (AUT) Iframe and Cross-Origin Communication](/cypress-io/cypress/how-cypress-handles-aut-iframe-and-cross-origin-communication)

Learn how Cypress manages the AUT iframe and cross-origin communication using its spec bridge and postMessage for secure, isolated testing.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Captures Screenshots and Videos During Test Execution: The Complete Technical Guide](/cypress-io/cypress/how-cypress-captures-screenshots-and-videos-during-test-execution)

Discover how Cypress captures screenshots and videos during test execution. Learn about the technical process involving base64 data-URLs, Jimp, MediaRecorder, and FFmpeg.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Implements Test Retries and Flake Detection: A Deep Dive into the Source Code](/cypress-io/cypress/how-cypress-implements-test-retries-and-flake-detection)

Explore Cypress source code to understand its advanced test retries and flake detection. Learn how configurable thresholds identify reliable pass rates for robust testing.

- Tags: deep-dive
- Published: 2026-07-12

### [How Cypress Manages Cookies and localStorage Across Test Isolation](/cypress-io/cypress/how-cypress-manages-cookies-and-localstorage-across-test-isolation)

Learn how Cypress manages cookies and localStorage with automatic clearing and custom rules for effective test isolation. Ensure a clean slate for every test.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Component Testing Integrates with React, Vue, Angular, and Svelte](/cypress-io/cypress/how-cypress-component-testing-integrates-with-react-vue-angular-svelte)

Discover how Cypress component testing seamlessly integrates with React, Vue, Angular, and Svelte using a unified cy.mount interface. Streamline your component testing workflow.

- Tags: how-to-guide
- Published: 2026-07-12

### [How the Cypress HTTP Proxy Intercepts and Modifies Browser Traffic](/cypress-io/cypress/how-cypress-http-proxy-intercepts-and-modifies-browser-traffic)

Discover how the Cypress HTTP proxy intercepts and modifies browser traffic. Learn about decryption, inspection, and rewriting requests and responses for efficient testing.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Handles Cross-Origin Testing with `cy.origin()` and the Spec Bridge](/cypress-io/cypress/how-cypress-handles-cross-origin-testing-with-cy-origin-and-spec-bridge)

Learn how Cypress handles cross-origin testing with cy.origin() and the spec bridge. Discover how an isolated spec-bridge iframe synchronizes commands and results for seamless testing across origins. Understand the Cypress arch...

- Tags: internals
- Published: 2026-07-12

### [How Cypress Validates and Resolves Configuration from cypress.config Files](/cypress-io/cypress/how-cypress-validates-and-resolves-configuration-from-cypress-config-files)

Uncover how Cypress validates and resolves configuration from cypress.config files. Learn about the six-stage pipeline that tracks every option's source for a final validated configuration.

- Tags: internals
- Published: 2026-07-12

### [How the Cypress Driver Executes Commands and Manages the Test Runtime in the Browser](/cypress-io/cypress/how-cypress-driver-executes-commands-and-manages-test-runtime-in-browser)

Learn how the Cypress driver executes commands and manages test runtime in the browser. Discover its `cy` API to `$Command` object conversion, queuing, and retry mechanisms.

- Tags: internals
- Published: 2026-07-12

### [How Cypress Implements Network Request Interception with cy.intercept()](/cypress-io/cypress/how-cypress-implements-network-request-interception-with-cy-intercept)

Discover how Cypress implements network request interception with cy.intercept() using a three-layer architecture with CDP or WebDriver BiDi. Learn to pause, match, and manipulate HTTP requests.

- Tags: internals
- Published: 2026-07-12

### [Main Concepts in Cypress for Developers: Core Architecture and Package Structure](/cypress-io/cypress/what-are-the-main-concepts-in-cypress-for-developers)

Explore the main concepts in Cypress for developers. Understand the core architecture including Driver, Server, Runner, and Proxy systems for efficient E2E testing.

- Tags: architecture
- Published: 2026-06-21

### [How to Override Default Cypress Configuration Settings: A Complete Guide](/cypress-io/cypress/how-to-override-default-cypress-configuration-settings)

Learn to override default Cypress configuration settings using CLI flags, cypress.config.js, or programmatically. Master runtime overrides for flexible testing.

- Tags: how-to-guide
- Published: 2026-06-21

### [How to Debug Issues Within the Cypress Server: A Complete Guide](/cypress-io/cypress/how-to-debug-issues-within-the-cypress-server)

Debug Cypress server issues effectively. Enable verbose logging with DEBUG=cypress:* and use Node's --inspect-brk to attach a debugger. Step through server code to find port conflicts or proxy failures.

- Tags: how-to-guide
- Published: 2026-06-21

### [How to Debug Issues Within the Cypress Driver: A Complete Guide to Internal Logs and Inspection](/cypress-io/cypress/how-to-debug-issues-within-the-cypress-driver)

Debug Cypress driver issues effectively using verbose internal logs and Node inspector. Learn to step through driver source code with this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-06-21

### [Cypress Architecture Explained: Key Components and Monorepo Structure](/cypress-io/cypress/what-are-the-key-components-of-the-cypress-architecture)

Explore the Cypress architecture and its key components. Understand the monorepo structure, CLI, Runner, and more for efficient end-to-end and component testing.

- Tags: internals
- Published: 2026-06-21

### [How to Programmatically Access Cypress Configuration: Runtime API Guide](/cypress-io/cypress/how-can-i-programmatically-access-cypress-configuration)

Access Cypress configuration programmatically at runtime using the Cypress.config() API. Read specific values or override settings for your tests.

- Tags: api-reference
- Published: 2026-06-21

### [Where Are Cypress Configuration Files Stored? Project Root and Detection Logic](/cypress-io/cypress/where-are-cypress-configuration-files-stored)

Discover where Cypress configuration files are stored in your project root. Learn about cypress.config.js, cypress.json, and their detection logic for seamless setup.

- Tags: how-to-guide
- Published: 2026-06-21

### [Communication Protocols Between Cypress Server and Driver: Socket.io and CDP Architecture](/cypress-io/cypress/what-are-the-communication-protocols-between-cypress-server-and-driver)

Discover how Cypress uses Socket.io and CDP architecture for seamless communication between its server and driver. Understand the dual-transport system powering efficient browser automation.

- Tags: internals
- Published: 2026-06-21

### [How the Cypress Server Package Interacts with the Driver: Socket Architecture Explained](/cypress-io/cypress/how-does-the-server-package-interact-with-the-driver)

Discover how the Cypress server package uses socket.io and direct module imports to interact with the driver, sharing ports and utility functions for efficient testing.

- Tags: internals
- Published: 2026-06-21

### [What Is the Cypress Driver Package? A Deep Dive Into the Browser-Side Test Engine](/cypress-io/cypress/what-is-the-purpose-of-the-driver-package-in-cypress)

Discover the Cypress driver package, the in-browser JavaScript engine. Learn how it manages `cy.*` commands, DOM interactions, network stubbing, and syncs with the Node runner.

- Tags: deep-dive
- Published: 2026-06-21

### [How the Cypress Config Package Manages Settings: Inside @packages/config](/cypress-io/cypress/how-does-the-cypress-config-package-manage-settings)

Discover how the Cypress config package manages all project settings. Learn about its role as the single source of truth for options, defaults, validation, and deprecation handling.

- Tags: internals
- Published: 2026-06-21

### [Cypress Configuration Options: Complete Guide to the Config System](/cypress-io/cypress/what-configuration-options-are-available-in-cypress)

Explore comprehensive Cypress configuration options. Learn about default values and validation rules for effective test automation. Discover the complete Cypress config system.

- Tags: api-reference
- Published: 2026-06-21

### [How Cypress Configuration Is Managed: Architecture, File Structure, and Runtime Loading](/cypress-io/cypress/how-is-cypress-configuration-handled)

Discover how Cypress configuration is managed through its architecture file structure and runtime loading. Learn about schema definitions validation and AST manipulation.

- Tags: architecture
- Published: 2026-06-21

### [What Is the Cypress Config Package? A Deep Dive into @packages/config](/cypress-io/cypress/what-is-the-cypress-config-package)

Explore the Cypress config package @packages/config. Learn how it defines, validates, and mutates Cypress configuration with typed options and AST utilities. Optimize your testing setup.

- Tags: deep-dive
- Published: 2026-06-21

### [Where to Find the Cypress Server Source Code: Complete Guide to the packages/server Directory](/cypress-io/cypress/where-can-i-find-the-cypress-server-source-code)

Locate the Cypress server source code in the cypress-io/cypress monorepo packages server directory. Discover HTTP server, file-serving, and test run orchestration logic.

- Tags: how-to-guide
- Published: 2026-06-21

### [Understanding the Cypress Server's Role in Test Execution](/cypress-io/cypress/what-is-the-cypress-servers-role-in-test-execution)

Discover the Cypress server's role in test execution. Learn how this Node.js orchestrator creates a deterministic environment by managing network traffic and browser control.

- Tags: internals
- Published: 2026-06-21

### [Cypress Server Responsibilities: Core Architecture and Network Management](/cypress-io/cypress/what-are-the-responsibilities-of-the-cypress-server)

Explore Cypress server responsibilities, including its core architecture and network management. Learn how it orchestrates HTTP servers, proxies, and bridges to execute tests and manage network traffic effectively.

- Tags: internals
- Published: 2026-06-21

### [How Does the Cypress Server Facilitate Testing: Core Architecture Explained](/cypress-io/cypress/how-does-the-cypress-server-facilitate-testing)

Discover how the Cypress server facilitates testing. Explore its Node.js environment, proxying, and browser control for efficient end-to-end tests. Learn the core architecture.

- Tags: architecture
- Published: 2026-06-21

### [What Is the Cypress Server Package? Core Architecture Explained](/cypress-io/cypress/what-is-the-cypress-server-package)

Discover the Cypress server package, the Node.js HTTP runtime behind Cypress. Learn how it launches the test runner, proxies traffic, and manages test execution.

- Tags: internals
- Published: 2026-06-21

### [Where Is the Cypress Driver Code Located? A Deep Dive into the `packages/driver` Directory](/cypress-io/cypress/where-is-the-cypress-driver-code-located)

Discover where the Cypress driver code lives within the cypress-io/cypress repository. Explore the packages/driver directory for browser-side JavaScript, the cy API, and command queue.

- Tags: deep-dive
- Published: 2026-06-21

### [Main Functions of the Cypress Driver: Core Architecture and API Implementation](/cypress-io/cypress/what-are-the-main-functions-of-the-cypress-driver)

Explore the Cypress driver's core functions. Learn how it implements the cy.* API, manages command queues, handles DOM interactions, and enables network stubbing within the browser.

- Tags: architecture
- Published: 2026-06-21

### [How the Cypress Driver Works: Core Architecture and Command Execution](/cypress-io/cypress/how-does-the-cypress-driver-work)

Discover how the Cypress driver engine translates cy commands into a retry queue, synchronizes with your AUT, and manages state for stable cross-origin execution. Learn Cypress core architecture.

- Tags: internals
- Published: 2026-06-21

### [What Is the Cypress Driver Package? Core Architecture Explained](/cypress-io/cypress/what-is-the-cypress-driver-package)

Understand the Cypress driver package, the core JavaScript engine executing in your browser. Learn how it manages commands, assertions, retries, and state synchronization with the Node.js runner.

- Tags: architecture
- Published: 2026-06-21

### [Cypress Configuration Options: Complete Guide to Driver and Runtime Settings](/cypress-io/cypress/what-are-cypress-configuration-options)

Master Cypress configuration options for driver and runtime settings. Learn to control Cypress.config and CLI flags for efficient test automation. Enhance your testing workflow today.

- Tags: deep-dive
- Published: 2026-06-18

### [Cypress Selectors: How to Target DOM Elements for Testing](/cypress-io/cypress/what-are-cypress-selectors-and-how-to-use-them)

Learn Cypress selectors to target DOM elements for robust web testing. Discover best practices using data-* attributes for stable, refactor-resistant tests and improve your Cypress workflow.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Write Reusable Cypress Code: Custom Commands, Mount Utils, and Shared Fixtures](/cypress-io/cypress/how-to-write-reusable-cypress-code)

Learn to write reusable Cypress code with custom commands, mount utils, and shared fixtures. Boost your testing efficiency and maintainability. Start writing better tests today.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Use Cypress for Cross-Browser Testing: A Complete Guide to Multi-Browser Automation](/cypress-io/cypress/how-to-use-cypress-for-cross-browser-testing)

Learn how to use Cypress for cross-browser testing on Chrome, Edge, Firefox, and WebKit. This guide explains multi-browser automation with Cypress's unified architecture for efficient testing.

- Tags: how-to-guide
- Published: 2026-06-18

### [Cypress vs Selenium: Architecture, Speed, and Debugging Compared](/cypress-io/cypress/what-is-the-difference-between-cypress-and-selenium)

Compare Cypress vs Selenium: discover faster, easier debugging with Cypress's in-browser architecture versus Selenium's WebDriver protocol. Find your ideal web testing tool.

- Tags: comparison
- Published: 2026-06-18

### [How to Handle Asynchronous Operations in Cypress: Complete Guide with Examples](/cypress-io/cypress/how-to-handle-asynchronous-operations-in-cypress)

Master asynchronous operations in Cypress. Learn how Cypress's command queue simplifies testing with automatic retries and internal promise management. Get the complete guide with examples.

- Tags: how-to-guide
- Published: 2026-06-18

### [Cypress Best Practices for Test Writing: The Official Style Guide](/cypress-io/cypress/what-are-cypress-best-practices-for-test-writing)

Learn Cypress best practices for writing maintainable tests. Use accessibility-first selectors, stub network calls, and i18n for reliable test suites.

- Tags: best-practices
- Published: 2026-06-18

### [How to Integrate Cypress with CI/CD Pipelines: A Complete Technical Guide](/cypress-io/cypress/how-to-integrate-cypress-with-ci-cd-pipelines)

Integrate Cypress with CI/CD pipelines using automatic environment detection, headless execution, and native parallelization. Streamline your testing workflow with this complete technical guide.

- Tags: how-to-guide
- Published: 2026-06-18

### [Cypress API Testing: How to Test REST and GraphQL Endpoints with cy.request()](/cypress-io/cypress/can-cypress-be-used-for-api-testing)

Learn how to test REST and GraphQL APIs with Cypress using cy.request(). Execute HTTP requests directly to ensure your API endpoints function correctly.

- Tags: how-to-guide
- Published: 2026-06-18

### [How Cypress Architecture Works: Inside the Electron, Node, and Browser Stack](/cypress-io/cypress/what-is-the-cypress-architecture-and-how-does-it-work)

Discover the Cypress architecture, exploring its Electron app, Node server, browser driver, and WebSocket proxy for native network interception and real-time DOM control. Learn how it works.

- Tags: architecture
- Published: 2026-06-18

### [How to Manage Cypress Test Data Effectively: Fixture Caching and Configuration Strategies](/cypress-io/cypress/how-to-manage-cypress-test-data-effectively)

Effectively manage Cypress test data with fixture caching and configuration. Optimize performance and ensure data consistency across your tests using smart strategies.

- Tags: best-practices
- Published: 2026-06-18

### [How to Run Cypress Tests in Headless Mode: Complete CLI Guide](/cypress-io/cypress/how-to-run-cypress-tests-in-headless-mode)

Learn how to run Cypress tests in headless mode using the Cypress CLI. Execute your tests without the GUI for faster feedback and CI integration. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-06-18

### [Cypress Custom Commands: How to Create, Extend, and Overwrite](/cypress-io/cypress/what-are-cypress-custom-commands-and-how-to-create-them)

Learn to create Cypress custom commands effortlessly. Extend and overwrite `cy` commands to streamline your test automation and boost reusability.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Use Cypress Plugins to Extend Functionality: A Complete Guide to the Node Events API](/cypress-io/cypress/how-to-use-cypress-plugins-to-extend-functionality)

Learn to extend Cypress functionality with plugins. Master the Node Events API for custom tasks and browser modifications with this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Configure Cypress for Different Environments: A Complete Guide to Multi-Env Testing](/cypress-io/cypress/how-to-configure-cypress-for-different-environments)

Learn to configure Cypress for different environments using configurations blocks CLI flags and environment variables. Master multi-env testing with this complete guide.

- Tags: how-to-guide
- Published: 2026-06-18

### [What Is the Cypress Dashboard? Architecture, Benefits, and Cloud Integration](/cypress-io/cypress/what-is-cypress-dashboard-and-its-benefits)

Discover the Cypress Dashboard, a service that aggregates test data, stores artifacts, and offers a web interface for analyzing test performance in CI and local environments.

- Tags: architecture
- Published: 2026-06-18

### [How to Set Up Cypress for a Node.js Project: Complete Installation Guide](/cypress-io/cypress/how-to-set-up-cypress-for-a-node-js-project)

Easily set up Cypress for your Node.js project. Follow our complete guide to install, configure, write, and run your end-to-end tests efficiently.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Test React Components with Cypress: The Complete Guide](/cypress-io/cypress/can-cypress-test-react-components)

Learn how to test React components directly with Cypress using the @cypress/react adapter. Mount and interact with your components in a real browser for robust testing.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Write Cypress Integration Tests: A Complete Guide for the Cypress Monorepo](/cypress-io/cypress/how-to-write-cypress-integration-tests)

Master Cypress integration tests for your monorepo. Learn to validate your stack using real browsers and detailed guides in this comprehensive Cypress tutorial.

- Tags: how-to-guide
- Published: 2026-06-18

### [Cypress Commands: Complete Guide to Built-in API and Custom Commands](/cypress-io/cypress/what-are-cypress-commands-and-how-to-use-them)

Discover Cypress commands, the asynchronous API for efficient test automation. Learn to use built-in and custom commands to streamline your testing workflow.

- Tags: deep-dive
- Published: 2026-06-18

### [How to Install Cypress for End-to-End Testing: A Complete Setup Guide](/cypress-io/cypress/how-to-install-cypress-for-end-to-end-testing)

Install Cypress for end to end testing by running npm install cypress --save-dev. Verify your setup with npx cypress verify. Get started with automated testing today.

- Tags: how-to-guide
- Published: 2026-06-18

### [How to Run Cypress in Headed Mode: Complete Guide to Visible Browser Testing](/cypress-io/cypress/how-to-run-cypress-in-headed-mode)

Learn to run Cypress in headed mode for visible browser testing using npx cypress run --headed or npx cypress open for the interactive runner. Master visible Cypress tests.

- Tags: how-to-guide
- Published: 2026-06-16

### [How to Configure Cypress Reporters: Built-in, Custom, and CLI Options](/cypress-io/cypress/how-to-configure-cypress-reporters)

Learn to configure Cypress reporters easily. Explore built-in, custom, and CLI options for comprehensive test reporting in your projects.

- Tags: how-to-guide
- Published: 2026-06-16

### [What Are Cypress Reporters? A Technical Guide to Test Output and Reporting](/cypress-io/cypress/what-are-cypress-reporters)

Understand Cypress reporters and how they convert test events into readable output and stats. Enhance your test reporting with this technical guide.

- Tags: deep-dive
- Published: 2026-06-16

### [How to Mock Network Requests in Cypress: A Complete Guide to cy.intercept()](/cypress-io/cypress/how-to-mock-network-requests-in-cypress)

Master mocking network requests in Cypress with cy.intercept(). Learn to stub APIs using static responses, fixtures, or dynamic replies for stable testing.

- Tags: how-to-guide
- Published: 2026-06-16

### [How to Extend Cypress Commands: A Complete Guide to Custom Commands and Queries](/cypress-io/cypress/how-to-extend-cypress-commands)

Learn how to extend Cypress commands with custom commands and queries using Cypress.Commands.add and Cypress.Commands.overwrite. Enhance your test automation.

- Tags: how-to-guide
- Published: 2026-06-16

### [What Is the Role of the Runner in Cypress? Core Architecture Explained](/cypress-io/cypress/what-is-the-role-of-the-runner-in-cypress)

Discover the Cypress Runner, the in-browser environment that connects your tests to the application. Learn its core role in bundling the test driver and reporter.

- Tags: internals
- Published: 2026-06-16

### [How Does Cypress Interact With the Browser? A Deep Dive Into CDP and Driver Injection](/cypress-io/cypress/how-does-cypress-interact-with-the-browser)

Discover how Cypress interacts with your browser using Chrome DevTools Protocol CDP and test driver injection. Understand the bidireactional communication for efficient testing.

- Tags: deep-dive
- Published: 2026-06-16

### [How to Install Cypress: Complete Guide for npm, yarn, and pnpm](/cypress-io/cypress/how-to-install-cypress)

Learn how to install Cypress effortlessly using npm, yarn, or pnpm. Get the latest Cypress version and start writing end-to-end tests quickly with our simple installation guide.

- Tags: getting-started
- Published: 2026-06-16

