Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
visreg-config-files
Advanced tools
A visual regression testing setup with Webdriver and Browserstack.
The steps in this readme can be followed to setup visual regression testing on a new project. They only need to be followed once per-project.
This file should not be included in the repo.
Install the latest Java JDK (not JRE)
npm install --save-dev webdriverio chai node-notifier wdio-mocha-framework wdio-browserstack-service wdio-visual-regression-service
Details in the included package.json
The only screenshots we want to commit to the repo are the baselines, so we need to ignore the others.
Details in the included .gitignore
Copy all of the included config files (and optionally the associated markdown files) to your repo. These should retain their folder structure and look like this when you're done:
project
│ VISREG-README.md
│ wdio.conf.js
│ wdio.conf.md
│ wdio.conf.quick.js
│ wdio.conf.quick.md
│
└──- tests
│ │ example-tests.md
│ │
│ └──- config
│ │ globalHides.js
│ │ globalHides.md
│ │ viewports.js
│ │ viewports.md
wdio.conf.js
file as indicated in the included wdio.conf.md.There's a configuration tool at https://www.browserstack.com/automate/capabilities
Select the OS and browser of choice and enter the information into the "capabilities" array of the appropriate wdio.conf
file.
Note: When entering browser info, if you omit the browser version, the latest stable release will be used. Typically, this is the best option, unless you need to support previous browser versions. IE9 or IE10, for example.
FAQs
A visual regression testing setup with Webdriver and Browserstack.
The npm package visreg-config-files receives a total of 1 weekly downloads. As such, visreg-config-files popularity was classified as not popular.
We found that visreg-config-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.