Articles

Development and testing trends, how-tos, and guides from the Reflect community.
End-to-end Testing
How-tos & Guides
9 min read
Interacting with native alerts using Selenium WebDriver
Learn how to deal with alert(), prompt(), confirm() and other browser alerts with Selenium WebDriver.
Front-end Development
How-tos & Guides
7 min read
Sending command-line arguments to an npm script
Node is a popular open-source JavaScript runtime environment for efficiently executing JavaScript code on the server. Node can also be configured to run your own JavaScript code as scripts on the command line.
Front-end Development
How-tos & Guides
5 min read
How to use Node.js modules in Deno
Due to its power and first-class support for Typescript, Deno has gained a lot of popularity in recent years. A common stumbling block for developers new to Deno is how to use Node.js packages in Deno apps. In this tutorial, you'll learn how to leverage the enormous ecosystem of code in the npm registry and use Node.js modules in your Deno applications.
End-to-end Testing
How-tos & Guides
6 min read
Setting up Selenium Grid for cross-browser testing
Selenium Grid is an open-source project that enables you to run Selenium tests across browsers on your own infrastructure. In this tutorial, we'll cover how to set up Selenium Grid to run a basic set of tests.
End-to-end Testing
How-tos & Guides
8 min read
Highlighting text in Cypress tests
Cypress does not have built-in support for testing workflows that require a user to highlight text on a page. This tutorial provides two workarounds that allow you replicate and test text highlighting in your Cypress tests.
End-to-end Testing
How-tos & Guides
6 min read
How to take a screenshot inside Selenium WebDriver
Learn how to take both full page screenshots as well as screenshots of individual elements inside your Selenium WebDriver tests.
End-to-end Testing
How-tos & Guides
8 min read
Waiting until elements are interactable in Selenium
Correctly detecting and waiting for asynchronous actions is one of the most effective ways for preventing test flakiness in Selenium. Here we'll cover various strategies for determining whether an element is ready to be interacted with, and highlight which strategy is most effective at reducing test flakiness.
End-to-end Testing
How-tos & Guides
6 min read
Using BiDirectional Protocol support in Selenium 4 to measure browser resource utilization
Selenium 4 added support to retrieve resource utilization information from the browser. This article discusses some potential applications for this feature, with examples written in Scala.
How-tos & Guides
11 min read
Stable Ordering and Caching with Infinite Scroll
Infinite scrolling on dynamic collections poses a challenge to data consistency. This article describes approaches for guaranteeing there are no duplicate items while still enabling the benefits of caching.
End-to-end Testing
How-tos & Guides
6 min read
Using BiDirectional Protocol support in Selenium 4 to stream console logs and network requests
Selenium 4 added support to subscribe to console logs and intercept/inspect network requests. This article discusses some potential applications for this feature, with examples written in Scala.

Get started with Reflect today

Create your first test in 2 minutes, no installation or setup required. Accelerate your testing efforts with fast and maintainable test suites without writing a line of code.

Copyright © Reflect Software Inc. All Rights Reserved.