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
npm install gdy-rrweb-plugin --save
yarn add gdy-rrweb-pluginimport RRgdy from 'gdy-rrweb-plugin'- Download
dist/gdy-rrweb.min.jsto location - Use
scriptto import file
<html>
<head>
<meta charset="UTF-8">
<title>report test</title>
<script src="../dist/gdy-rrweb.min.js"></script>
</head>import RRgdy from 'gdy-rrweb-plugin'
const rrgdy = new RRgdy(uin, 'xxxx', 'url')rrgdy.record()rrgdy.stop()rrgdy.export('url')rrgdy.restore('binaryString')rrgdy.replay()ISC