---
title: "10.9.0"
url: "https://www.cypress.io/releases/10-9-0"
description: "Features: Added support for requiring dependencies within the cy.origin() callback. See the cy.origin() docs for more information. Added support for visiting…"
---

# 10.9.0

ReleasedReleased on September 26, 2022

**Features:**

-   Added support for requiring dependencies within the [`cy.origin()`](/api/commands/origin) callback. See the [`cy.origin()`](/api/commands/origin#Dependencies--Sharing-Code) docs for more information.
    
-   Added support for visiting cross-origin pages outside of a [`cy.origin()`](/api/commands/origin) callback. See the [`cy.origin()`](/api/commands/origin#Alternative-navigation) and [`cy.visit()`](/api/commands/visit#Visiting-cross-origin-sites) docs for more information and caveats. Addresses [#21485](https://github.com/cypress-io/cypress/issues/21485), [#22282](https://github.com/cypress-io/cypress/issues/22282), [#21300](https://github.com/cypress-io/cypress/issues/21300), and [#23236](https://github.com/cypress-io/cypress/issues/23236).
    
-   Added support for re-using session data cached by [`cy.session()`](/api/commands/session) across specs via the `cacheAcrossSpecs` option. Addresses [#17710](https://github.com/cypress-io/cypress/issues/17710).
    
-   Added support for advanced dev server configuration via an async function that can optionally modify the dev server config. Addresses [#23302](https://github.com/cypress-io/cypress/issues/23302).
    
-   Launch options returned from the [`before:browser:launch`](/api/node-events/browser-launch-api) event can now include an `env` key that can be used to pass environment variables to the browser when it is launched. Addressed by [#23624](https://github.com/cypress-io/cypress/pull/23624).
    
-   Component tests that fail now display a code frame of the source location of the error within the Cypress reporter. Addresses [#21720](https://github.com/cypress-io/cypress/issues/21720).
    

**Bugfixes:**

-   The spec results printed stdout after a test run now show the path to the spec and not just the file name. Fixes [#22304](https://github.com/cypress-io/cypress/issues/22304).
    
-   The viewport dropdown in the Cypress App now displays the correct text. Fixes [#23789](https://github.com/cypress-io/cypress/issues/23789).
    
-   Compile errors are now surfaced in the command log during tests for Angular and Next projects. Fixes [#23219](https://github.com/cypress-io/cypress/issues/23219).
    
-   The error "Automatic publicPath is not supported in this browser" will no longer be displayed when using Webpack 5 and dynamic imports. Fixes [#18435](https://github.com/cypress-io/cypress/issues/18435).
    
-   The correct source control link is now sent to the Cypress Dashboard for failed specs when the cypress config file is not the project root. Fixes [#22971](https://github.com/cypress-io/cypress/issues/22971).
    
-   The error "Invalid left-hand-side in assignment" will no longer be thrown when the `experimentalModifyObstructiveThirdPartyCode` flag is enabled. Fixes [#23647](https://github.com/cypress-io/cypress/issues/23647).
    
-   `it.skip` now functions correctly in Angular component tests. Fixes [#23409](https://github.com/cypress-io/cypress/issues/23409).
    
-   The `tsConfig` build option is now respected for Angular component tests. Fixes [#23673](https://github.com/cypress-io/cypress/issues/23673).
    
-   Configuring a custom browser no longer logs a warning when trying to use that browser. Addressed in [#23446](https://github.com/cypress-io/cypress/pull/23446).
    

**Misc:**

-   Improved the accessibility of a few components within the Cypress Launchpad and App. Addressed in [#23745](https://github.com/cypress-io/cypress/pull/23745).
    
-   Improved the UI of the Sessions instrument panel in the Cypress reporter. Addresses [#21400](https://github.com/cypress-io/cypress/issues/21400).