Skip to content

Commit

Permalink
Markdown updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhantshukla814 committed Apr 21, 2022
1 parent 0fa7caa commit f641095
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
<p align="center"><img src="https://docs.webpagetest.org/img/wpt-navy-logo.png" alt="WebPageTest Logo" /></p>


# EXPERIMENTAL: Recorder-To-WPT-Script

Script to convert Chrome user flow recordings to WPT Custom Scripts

Takes the path to a recorder JSON file and returns a WebPageTest Custom Script.

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#)


## Requirements

* [Node js](https://nodejs.org/en/)

## Usage

```
node index.js sample-recordings/simple-recorder.json
```

![Screenshots of Script](/assets/images/wpt-recorder-script.png)
Paste this script into WPT custom script and see the magic happening


## Currently Supported Recorder Commands

- `navigate` (maps to `navigate`)
Expand All @@ -23,6 +40,14 @@ node index.js sample-recordings/simple-recorder.json
---
**NOTE**

There are some websites having issues with chrome recorder, this issue will be resolved with time as Google developers improve Chrome
<ul>
<li>At the moment, only Google Chrome Developer and Google Chrome Canary exports these json scripts.</li>
<li>There are some websites having issues with chrome recorder, this issue will be resolved with time as Google developers improve Chrome</li>
</ul>




---


Binary file added assets/images/wpt-recorder-script.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f641095

Please sign in to comment.