5 ways to prevent code injection in JavaScript and Node.js

Writing secure code in a way that prevents code injection might seem like an ordinary task, but there are many pitfalls along the way. For example, the fact that you (a developer) follow best security practices doesn’t mean that others are doing the same. You’re likely using open source packages in your application. How do you know if those were developed securely? What if insecure code like eval() exists there? Let’s dive into it.

sauce labs

Top 5 JavaScript Test Automation Frameworks in 2021

JavaScript consistently ranks as the world’s most popular programming language among developers. It should come as no surprise, then, that a variety of JavaScript test automation frameworks are available to help developers test JavaScript apps. Here’s a look at the top five such frameworks, with tips on the pros and cons of each.

Your Framework for Success: Introduction to JavaScript Testing at Scale

There are countless ways to set up your automated testing environment. When it comes to stability and maintainability, it’s crucial to choose the right frameworks at the beginning of the journey, to set yourself up for success and save yourself time and headaches further down the road.

Tips for Javascript Perfomance Testing

No user likes to spend time waiting for a web page to load. No web developer likes a website or app to fail either. It’s important to focus on creating quick loading pages with error-free code. JavaScript is used to build the majority of the dynamic, real-time applications. JavaScript’s strength is in the context of apps that update content dynamically with minimal latency. JavaScript performance testing should be a priority for ensuring a good end user experience and optimal performance.


A Beginner's Guide To Test Automation With Javascript (Nightwatch.js). Part 2.

Welcome to the “A beginners guide to test automation with Javascript(Nightwatch.js)” blog series part 2! If you have missed out on the first part, you can read it here. In this article we will look into the following and as always – feel free to skip to any part you are the most interested in: Code used in this article can be found in Loadero’s public GitHub examples repository here.


The 50 Best JavaScript Libraries

JavaScript (JS), a programming language developed 25 years ago, has become a core part of the internet. Today, a significant majority of websites use JS and it’s supported by all major browsers, including Chrome and Microsoft Edge. In fact, there are no commonly used browsers today that do not support JS. JavaScript, designed by Brendan Eich in 1995, is maintained now by the European Computer Manufacturers Association (ECMA).


3 Ways to Improve JavaScript Applications

In January we brought Release Health to JavaScript. This month we’ve been thinking about the overall experience for JavaScript developers, some could call it JavaScript Jebruary. Think back to your last frustrating experience. It was probably caused by slow page loads or getting dizzy from staring at the ever-ending spinner. One survey showed that the average desktop load time on a webpage was 10.3 seconds and on mobile, it was 27.3 seconds.

sauce labs

Speed Up JavaScript Test Automation on the Sauce Cloud

In recent years, there’s been a shift towards broader adoption of JavaScript test automation frameworks. Today our customers are using Cypress, TestCafe, Puppeteer, and most recently, Playwright. Plus, they are often using these alongside existing Selenium and mobile test automation frameworks. The options for testing have increased, and depending on your unique testing needs, you may be adopting one or many solutions in your organization.