What is Puppeteer? Puppeteer is Node library that you can use in order to control Headless Chrome with the DevTools Protocol. The Chrome DevTools Protocol allows for tools to instrument, inspect, debug and profile for Chromium and Chrome browsers. Puppeteer – Headless Chrome Node API works only with Chrome and uses the latest versions of Chromium. Chromium… Read more »
Posts By: admin
How to Debug ES6 in WebStorm with Babel
Here are the steps you need to follow in order to debug ES6 code in the WebStorm IDE. After this, you’ll be able to take advantage of all debugging advantages, like setting breakpoints, moving away from console logs and faster understanding of the code of your application. Prerequisites for Debugging ES6 in WebStorm IDE … Read more »
How to Use the DataProvider in TestNG with a JAVA Example
We are going to show how to use the DataProvider in your test cases created with the TestNG unit testing framework. DataProvider are used in order to create data-driven tests. Basically, it will help you to run the same test case, but with different data sets. Examples of DataProviders We are going to use the… Read more »
How to use the Overview, Home and Back buttons in Appium for Android
Using the Overview, Home and Back native buttons is pretty straight forward using WebDriver and Appium. Below there are the code examples for all the 3 buttons: How to click the Back Button on Android with Selenium WebDriver and Appium public void clickBackButton(){ ((AndroidDriver)driver).pressKeyCode(AndroidKeyCode.BACK); } How to click the Overview Button on Android with… Read more »
How to use User Defined Variables in Apache JMeter
In order to define your own variables and reuse them in your tests, it’s easier to use the User Defined Variables from JMeter. Here is how to create a variable and use it in an HTTP Request from your JMeter Test Plan. Steps 1. Open JMeter (here is a more detailed post on how to… Read more »
How to scroll web page UP or Down using Selenium WebDriver?
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 »
How to find the XPath of your Selenium WebDriver test using Chrome browser?
Enroll Now for the new Online Course: How to Find XPath for Web Elements in Chrome and Firefox Browsers. A lot of times while developing a test or when debugging a test you want to check to what element the XPath used in your test refers to. You will find this useful since you don’t… Read more »