Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
42 lines (29 loc) · 902 Bytes

File metadata and controls

42 lines (29 loc) · 902 Bytes
title type shortDescription tags metaDescription redirects freshnessValidatedDate
pauseReplay
apiDoc
A method used to force a replay to pause recording
Browser
Browser monitoring
Browser Agent
A method used to force a replay to pause recording
2024-04-22

Syntax

newrelic.pauseReplay()

Browser API used to force a replay to pause recording.

Requirements

  • Browser Pro, or Pro+SPA agent (v1.240.0 or higher)

Description

newrelic.pauseReplay() can be called to manually force a replay to pause recording.

If a replay is not already in progress, this API method will have no effect.

Use Cases

  • You want to manually trigger a replay to stop recording on certain site pages or under certain conditions, such as a healthcare page, credit card info page, etc.

Examples

Forcing a replay to pause recording

newrelic.pauseReplay()