How to Install NVM (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash How to Install Node.js with NVM? nvm install v12.18.0 How to Set the Default Node.js version with nvm? nvm alias default v12.18.0 How to Pass command line (CLI) arguments to a Node.js app? process.argv.forEach((val, index) => { console.log(`${index}: ${val}`); }); node process-args.js one… Read more »
Posts Categorized: General
Selenium vs. Cypress: Which Software Testing Tool to Use?
Selenium is one of the most used, if not the most, automation software testing tool in the market today. It has a long history starting with 2004, with Selenium IDE, Selenium RC and now Selenium WedDriver. Cypress Automation Testing tool is a newer tool, appeared in 2014, and had a huge rewrite couple of years… Read more »
Cypress.io 4.0 supports Firefox and Edge browsers
Cypress.io announced that with v4.0, Mozilla Firefox and Microsoft Edge (Chromium based) browsers are supported. Have a look how to get started with Cypress in less than 30 minutes. This update is quite huge for the software testing community, since the other competitor of Cypress.io, TestCafe was supporting Firefox and Edge browsers for a while… Read more »
Top 3 Software Testing Courses
Here is a list of the top 3 software testing courses, with the latest and most popular web testing frameworks on the market today: The Ultimate Cypress Testing Hands-on Guide Course Build an End to End Software Testing Framework with TestCafe Course Selenium IDE Test Automation Tool with Record and Playback Course If you are… Read more »
‘use strict’ in JavaScript
When to add ‘use strict’ in JavaScript and what implications implies. If you don’t use ‘use strict’, the context of this will be the global window object. function getName() { console.log(this) } getName() When using strict mode, the context of this inside a function on the global context will be undefined: ‘use strict’ function getName()… Read more »