Skip to content

.getReplay() doesn't work, have to getIntegrationByName('Replay') - docs outdated? #13879

Closed
@kkmuffme

Description

@kkmuffme

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

8

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://docs.sentry.io/platforms/javascript/session-replay/understanding-sessions/#manually-starting-replay

Sentry.getReplay() doesn't work.
I have to
Sentry.getClient().getIntegrationByName('Replay')

Are the docs outdated?

Steps to Reproduce

Sentry.getReplay() doesn't work.
I have to
Sentry.getClient().getIntegrationByName('Replay')

Expected Result

code in docs should work

Actual Result

Uncaught TypeError: Sentry.getReplay is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: browserIssues related to the Sentry Browser SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions