Skip to content

Commit

Permalink
Polish Firefox Add On Support (#4)
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
MikeShi42 committed Nov 23, 2021
1 parent c3690d9 commit 3b37b4a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
secrets.*.js

**/*.zip
**/*.log
**/.vscode
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
![Chrome Web Store](https://img.shields.io/chrome-web-store/rating/geggbdbnidkhbnbjoganapfhkpgkndfo?color=8F57F3&label=Chrome%20Rating)
![Tests](https://github.com/DeploySentinel/Recorder/actions/workflows/main.yml/badge.svg)

A Chrome Extension that generates Playwright and Puppeteer scripts automatically
from your browser interactions.
A Browser Extension that generates Playwright and Puppeteer scripts
automatically from your browser interactions.

Simply step through your website while recording with DeploySentinel Recorder
and the extension will convert the captured user flow into a Playwright or
Puppeteer script.

[![Chrome Store Icon](assets/ChromeStoreIcon.png)](https://chrome.google.com/webstore/detail/deploysentinel-recorder/geggbdbnidkhbnbjoganapfhkpgkndfo)
[![Firefox Addon Icon](assets/FirefoxAddonIcon.png)](https://addons.mozilla.org/en-US/firefox/addon/deploysentinel-recorder/)

# Demo

Expand Down Expand Up @@ -65,10 +66,20 @@ feel free to open an issue or PR for what you think is missing.

# Development Instructions

Install Dependencies: `yarn`
Install Dependencies: `yarn` (or `yarn --frozen-lockfile`)

Start Local Webpack Dev Server: `yarn run start`
## Firefox

Build Compressed Chrome Extension: `yarn run build`
Start Local Webpack Dev Server for Firefox: `yarn run start-ff`

Compressed Firefox Extension: `yarn run build-ff`

Bundle source files for review: `yarn run bundle-source`

## Chrome

Start Local Webpack Dev Server for Chrome: `yarn run start-chrome`

Compressed Chrome Extension: `yarn run build-chrome`

Run E2E Tests: `yarn test`
Binary file added assets/FirefoxAddonIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"description": "A Chrome Extension that generates Playwright and Puppeteer scripts automatically from your browser interactions.",
"license": "Apache-2.0",
"scripts": {
"build-chrome": "MANIFEST_VERSION=3 node utils/build.js && zip -r build_chrome.zip build",
"build-ff": "MANIFEST_VERSION=2 node utils/build.js && zip -r build_ff.zip build",
"build-chrome": "MANIFEST_VERSION=3 node utils/build.js && rm -f build/.DS_Store && zip -r build_chrome.zip build",
"build-ff": "MANIFEST_VERSION=2 node utils/build.js && rm -f build/.DS_Store && zip -jr build_ff.zip build",
"start-chrome": "MANIFEST_VERSION=3 node utils/webserver.js",
"start-ff": "MANIFEST_VERSION=2 node utils/webserver.js",
"bundle-source": "zip source.zip -r ./* -x ./node_modules/\\* -x .git/\\* -x .vscode/\\* -x \\*.log",
"test": "jest"
},
"dependencies": {
Expand Down

0 comments on commit 3b37b4a

Please sign in to comment.