# Aspire.Hosting.Browsers

- Module: `Aspire.Hosting.Browsers`
- Version: `17.0.0-preview.1.26565.2`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)
- Functions: `1`
- Types: `1`

## Enums

- [BrowserUserDataMode](/reference/api/go/aspire.hosting.browsers/browseruserdatamode.md) -- `enum` - 2 values -- Selects the Chromium user data directory used by tracked browser sessions.

## Functions

- [WithBrowserLogs](/reference/api/go/aspire.hosting.browsers/withbrowserlogs.md) -- `method` - on `ResourceWithEndpoints` -- Adds a child resource that can open the application's primary browser endpoint in a tracked browser session, surface browser diagnostics, and capture screenshots.
