How to scroll web page UP or Down using Selenium WebDriver?

Uncategorized.

2 minutes read If you want to scroll the page UP or DOWN with Selenium WebDriver in order to find web elements or make assertions, here are a few way you can do that. How to scroll Page Down using Selenium WebDriver: JavaScript scrollBy() method scrolls the document by the specified number of pixels. Update the second parameter of… Read more »

Using a CSV file for login credentials and extracting the token from the response when running JMeter tests

Uncategorized.

2 minutes read In order to extract data from the response with JMeter you need to: have the CSV file with the credentials in a format similar to the one below have JMeter installed JMeterPlugins-Extras installed – installing the plugins is detailed on the following post JMeterPlugins-ExtrasLibs installed – installing the plugins is described on the following post Four… Read more »

How to Measure CPU and Memory while Running a Load Test

Uncategorized.

2 minutes read In order to make sure that your application will not break under a heavy load, a web application owner has to perform some basic performance tests. Here are 4 simple steps how to achieve this with LoadFocus load testing tool: Log into your account on the LoadFocus platform Click on the “New Load Test” menu Enter the… Read more »

How to Clear Local Storage using Selenium WebDriver?

Uncategorized.

< 1 minute read There are two options to interact with browser’s local storage: via javascript by creating your own methods via Selenium WebDriver (starting with version 2.42) if the driver supports it Let’s have a look of how can we use these two options in our Selenium WebDriver tests: 1. Let’s create a LocalStorage class with methods for… Read more »