Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions