All Projects → hsxhr-10 → Softest

hsxhr-10 / Softest

Licence: bsd-2-clause
Recording Browser Interactions And Generating Test Scripts.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Softest

softest
Recording Browser Interactions And Generating Test Scripts.
Stars: ✭ 225 (+8.17%)
Mutual labels:  e2e-tests, playback, record, puppeteer
jest-playback
Record and playback http requests from your Jest tests
Stars: ✭ 51 (-75.48%)
Mutual labels:  playback, record
puppeteer-jest-starter
A starter-kit quipped with the minimal requirements for Puppeteer + Jest, making E2E testing a breeze.
Stars: ✭ 17 (-91.83%)
Mutual labels:  e2e-tests, puppeteer
puppeteer-screenshot-tester
Small library that allows us to compare screenshots generated by puppeteer in our tests.
Stars: ✭ 50 (-75.96%)
Mutual labels:  test, puppeteer
Qawolf
🐺 Create browser tests 10x faster
Stars: ✭ 2,912 (+1300%)
Mutual labels:  e2e-tests, puppeteer
dart vlc
🎞 Flutter audio / video playback, broadcast & recording library for Windows & Linux.
Stars: ✭ 439 (+111.06%)
Mutual labels:  playback, record
phantom-lord
Handy API for Headless Chromium
Stars: ✭ 24 (-88.46%)
Mutual labels:  e2e-tests, puppeteer
React Pinpoint
An open source utility library for measuring React component render times.
Stars: ✭ 93 (-55.29%)
Mutual labels:  test, puppeteer
Tib
Easy e2e browser testing in Node
Stars: ✭ 64 (-69.23%)
Mutual labels:  test, puppeteer
Cypress
Fast, easy and reliable testing for anything that runs in a browser.
Stars: ✭ 35,145 (+16796.63%)
Mutual labels:  test, e2e-tests
Pending Xhr Puppeteer
Small tool to wait that all xhr are finished in puppeteer
Stars: ✭ 227 (+9.13%)
Mutual labels:  e2e-tests, puppeteer
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+6619.23%)
Mutual labels:  test, e2e-tests
jest-retry
Jest retry pattern for flaky E2E tests
Stars: ✭ 36 (-82.69%)
Mutual labels:  test, e2e-tests
Cli Prompts Test
Write e2e tests for CLI apps with ease
Stars: ✭ 17 (-91.83%)
Mutual labels:  test, e2e-tests
Selenium Ide
Open Source record and playback test automation for the web.
Stars: ✭ 1,815 (+772.6%)
Mutual labels:  playback, record
Root Cause
🔍 Root Cause is a tool for troubleshooting Puppeteer and Playwright tests. 🔎
Stars: ✭ 205 (-1.44%)
Mutual labels:  e2e-tests, puppeteer
Jvppeteer
Headless Chrome For Java (Java 爬虫)
Stars: ✭ 193 (-7.21%)
Mutual labels:  puppeteer
Thal
Getting started with Puppeteer and Chrome Headless for Web Scraping
Stars: ✭ 2,345 (+1027.4%)
Mutual labels:  puppeteer
Mocha.parallel
Run async mocha specs in parallel
Stars: ✭ 194 (-6.73%)
Mutual labels:  test
Correlation
🔗 Methods for Correlation Analysis
Stars: ✭ 192 (-7.69%)
Mutual labels:  test

softest

logo

build status Known Vulnerabilities license

The softest is a test tool for recording browser interactions and generating test scripts, simple and practical. It allows you to get test scripts without writing code.

softest2.png

🔍 Why

When I needed a tool that could record browser interactions and generate corresponding scripts, I found puppeteer-recorder and Selenium IDE, of course, they are excellent projects. But I found that they can't support multi-tab recording, screenshots, etc., and Selenium IDE always gives an error when playing a script, so I made this wheel.

🔥 Features

Supported Features

  • Single tab recording
  • Multiple tab recording
  • Screenshot
  • Generating test script
  • Playback script
  • Download test report (contains screenshots and test script)

Supported Interactions

  • Click
  • New tab
  • Close tab
  • Change URL
  • Input
  • Scroll page

Tab switching rules: temporarily not support manual tapping tabs to switch pages. For example, opened three tabs, currently in the latest tab3, you can't manually switch to tab2 or tab1 at this time, which will cause inconsistency, but you can go back to tab2 through close tab3, then close tab2 and return to tab1.

⚙️ Installation

Dependencies

  • Node >= v10.16.3 (recommend v12.8.0)
  • Npm (recommend 6.10.2)
$ npm i -g softest

The softest is based on Puppeteer, when downloading Puppeteer, Chromium will be downloaded by default. Chinese users may be affected by GFW. If you encounter difficulties, you can move to README-Zh.md.

🚀 Usage

Add environment variables to facilitate running commands:

$ export PATH=$PATH:$HOME/.npm-global/bin

softest has only a few parameters:

$ softest --help
Usage: index [options]

Options:
  -h, --host <hostname>  Server hostname, optional. (default: "127.0.0.1")
  -p, --port <port>      Server port, optional. (default: 2333)
  -c, --chromium <path>  The absolute path of the chromium execution file, necessary.
  -r, --report <path>    The absolute path of the test report, necessary.
  -h, --help             output usage information

To run the softest command, you need to specify the directory where the Chromium and the directory where the test report is saved:

$ soft -c PATH_CHROMIUM -r PATH_REPORT

If you don't know where the Chromium is, you can start Chromium and type chrome://version/ in the address bar to find the location of its executable.

If you see an output similar to the following, congratulations 🎉🎉🎉👏

 _______  _______  _______  _______  _______  _______  _______
|       ||       ||       ||       ||       ||       ||       |     status: running
|  _____||   _   ||    ___||_     _||    ___||  _____||_     _|     host: 127.0.0.1
| |_____ |  | |  ||   |___   |   |  |   |___ | |_____   |   |       port: 2333
|_____  ||  |_|  ||    ___|  |   |  |    ___||_____  |  |   |
 _____| ||       ||   |      |   |  |   |___  _____| |  |   |
|_______||_______||___|      |___|  |_______||_______|  |___|

🎉 Running WebSocket server successfully

🎉 Running HTTP server successfully

Open a browser, type host and port, you will see the following web interface:

softest1.png

⭐️ Show Your Support

Please give a ⭐️ if this project helped you!

👏 Contributing

If you have any questions or requests or want to contribute to moveable or other packages, please write the issue or give me a Pull Request freely.

🐞 Bug Report

If you find a bug, please report to us opening a new Issue on GitHub.

📝 License

See LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].