Selenium WebDriver

Capture Screenshots for Failed Steps in Cucumber BDD Automation Report

If you are using Cucumber to automate web application, it can be very useful to include a screenshot of failed step in Cucumber execution report whenever a scenario fails. Cucumber report doesn’t provide screen shot directly embedded into report but it is possible to embed few lines of code to capture screens. Why Screenshots? Screenshot …

Capture Screenshots for Failed Steps in Cucumber BDD Automation Report Read More »

What’s new in Selenium 4?

Selenium 4 Features In this article, we will look at the new exciting features and improvements introduced in the latest version of Selenium WebDriver i.e. Selenium 4. Selenium WebDriver has now adopted W3C standard web driver protocol. So, instead of JSON Wire Protocol, native support of W3C standard is provided. Let’s have a look at …

What’s new in Selenium 4? Read More »

Introduction to Git

Source code management Source code management (SCM) is used to keep a track of changes in the source code repository. A repository is nothing but collection of source code. As software project grow in lines of code and number of contributors/ developers, the cost of communication overhead and management complexity also grow. SCM tracks a …

Introduction to Git Read More »

Java Optional

Optional was introduced in Java 8 and its primary objective is to prevent NullPointer exceptions in code. Consider it as wrapper/container object which may or may not hold a non-null value. One needs to unwrap/de-containerize it to get the actual content using methods provided by Optional itself. For example – method ‘isPresent‘ invoked on Optional …

Java Optional Read More »

Introduction To JavaScript

What is JavaScript? JavaScript is a cross-platform, object-oriented scripting language used to make interactive webpages that includes complex animations, clickable buttons, popup menus. There are also more advanced server-side versions of JavaScript such as Node.js, which allow you to add more functionality to a website. JavaScript was invented by Brendan Eich in 1995 and became an …

Introduction To JavaScript Read More »