Skip to content

corcd/gdy-rrweb-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdy-rrweb-plugin

An automated capture reporting tool based on the RRweb open-source project

New matched server-side: https://github.com/corcd/egg-rrweb-server

Old matched server-side: https://github.com/corcd/rrweb-server

Install

NPM

npm install gdy-rrweb-plugin --save
yarn add gdy-rrweb-plugin
import RRgdy from 'gdy-rrweb-plugin'

Resource

  1. Download dist/gdy-rrweb.min.js to location
  2. Use script to import file
<html>
<head>
  <meta charset="UTF-8">
  <title>report test</title>
  <script src="../dist/gdy-rrweb.min.js"></script>
</head>

Usage

import RRgdy from 'gdy-rrweb-plugin'

const rrgdy = new RRgdy(uin, 'xxxx', 'url')

record

rrgdy.record()

stop

rrgdy.stop()

export

rrgdy.export('url')

restore

rrgdy.restore('binaryString')

replay

rrgdy.replay()

License

ISC

About

Normal web record & replay plugin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published