Git Product home page Git Product logo

webpagetest.recorder-chrome-extension's Introduction

WebPageTest Logo

WEBPAGETEST RECORDER EXTENSION

An extension for Chrome Recorder to export a recorder session as a WebPageTest Custom Script.

Download WPT RECORDER EXTENSION using Add to Chrome button.

How to use the recorder extension

Support for Replay UI (Beta)

Now you can directly replay your recording using Webpagetest (Chrome 112 onwards)

How to use the recorder replay UI


NOTE

  • This extension is only compatible with Chrome v104 and above.
  • Before exporting the script, ensure your recording plays back correctly in Chrome (to obtain the expected result).

Generate your script using extension

1. Open the Recorder panel

  • Open DevTools.
  • Click on More options --> More tools > Recorder.

Open Recorder

2. Start a new recording

  • Enter recording name.
  • Click on start recording button.
  • Start surfing on the internet to register your events.
  • End recording.

Start new recording

Refer to this link: https://developer.chrome.com/docs/devtools/recorder/ to learn more about Chrome Recorder

3. Export your script

After you are done with the recording

  • Click on export icon and select "Export as a Webpagetest custom script"

Export Script

4. Run Webpagetest test using script

Run Script

  • Hit Start Test Button

Now you have successfully generated a Webpagetest Custom Script using WEBPAGETEST RECORDER EXTENSION and Run a Webpagetest Test. Play around with the extension and have fun.

Testing

  1. Clone the repo, run npm run build
  2. Visit chrome://extensions
  3. Enable "Developer mode" via toggle switch in upper right corner
  4. Click "Load unpacked" button in upper left corner
  5. Select the build directory produced by npm run build

Currently Supported Recorder Commands

  • navigate (maps to navigate)
  • setViewport (maps to setViewportSize)
  • click (maps to execAndWait)
  • change (maps to execAndWait)
  • keydown (maps to execAndWait)
  • keyup (maps to execAndWait)
  • waitForElement (maps to waitFor)
  • waitForExpression (maps to waitFor)
  • doubleClick (maps to execAndWait)
  • scroll (maps to execAndWait)

Resources

webpagetest.recorder-chrome-extension's People

Contributors

siddhantshukla814 avatar tkadlec avatar

Stargazers

Umut BAYĞUT avatar

Watchers

 avatar

Forkers

jwcastillo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.