Gathering detailed insights and metrics for wdio-bugreplay-service
Gathering detailed insights and metrics for wdio-bugreplay-service
Gathering detailed insights and metrics for wdio-bugreplay-service
Gathering detailed insights and metrics for wdio-bugreplay-service
npm install wdio-bugreplay-service
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
2,095
Last Day
2
Last Week
5
Last Month
41
Last Year
211
3 Stars
32 Commits
2 Forks
2 Watching
14 Branches
4 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.10
Package Id
wdio-bugreplay-service@1.0.10
Unpacked Size
18.74 kB
Size
6.08 kB
File Count
9
NPM Version
6.14.6
Node Version
12.18.3
Cumulative downloads
Total Downloads
Last day
-81.8%
2
Compared to previous day
Last week
-79.2%
5
Compared to previous week
Last month
86.4%
41
Compared to previous month
Last year
-24.6%
211
Compared to previous year
1
2
The BugReplay WDIO service records screencasts of your automated tests including timesynced JavaScript Console and Network logs
Install the package
1npm install wdio-bugreplay-service --save-dev
or if you prefer to use yarn
1yarn add wdio-bugreplay-service --dev
You will need to sign up for an account at https://bugreplay.com. After that you will need to login and get an API key by clicking the Hamburger Menu, click My Settings, and then Show API Key. You'll use this in the configuration file.
In wdio.conf.js, you will need to add both the bugreplay service as well as add the configure the BugReplay automation extension to be added to chrome:
1// wdio.conf.js 2export.config = { 3 // ... 4 capabilities: [{ 5 // ... 6 browserName: 'chrome', 7 'goog:chromeOptions': { 8 args: [ 9 '--load-extension=node_modules/bugreplay-automation/extension/', 10 '--auto-select-desktop-capture-source=Record This Window' 11 ] 12 }, 13 } 14 // ... 15 services: [ 16 ['bugreplay', { 17 apiKey: 'YOUR_BUGREPLAY_API_KEY_GOES_HERE', 18 saveSuccessfulTests: true // the default is false 19 }] 20 ], 21 // ... 22};
After this configuration your tests will automatically be recorded to video, uploaded to BugReplay, and ready for playback alongside the timesynced JS console and network traffic logs.
This currently only works for chromedriver and edgedriver. We're looking to expand to other browsers in the future.
We've had the best luck using the selenium-standalone-service for running on MS Edge.
The configuration looks the same except instead of browserName: 'chrome' you'd have browserName: 'MicrosoftEdge'. Instead of goog:chromeOptions you'd have ms:edgeOptions.
You can run the test directly by running the following in your terminal:
1npx wdio run ./wdio.conf.js
Inside of package.json
add the following to the scripts
object:
1"scripts": { 2 "test:wdio": "wdio run ./wdio.conf.js" 3}
You can name the script anything you'd like, it does not have to be test:wdio
.
Then in your command line run:
1npm run test:wdio
or
1yarn test:wdio
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/22 approved changesets -- score normalized to 1
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More