NodeJS One Line Code Snippets

Posted by & filed under Node.js.

nodejs

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 »

Cypress.io 4.0 supports Firefox and Edge browsers

Posted by & filed under Frameworks, JavaScript, Test Automation.

Cypress

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

Posted by & filed under Frameworks, Test Automation.

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

Posted by & filed under Frameworks, JavaScript.

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 »