/images/site default/avatar.svg

Introduction to Selenium WebDriver

First, let me try to explain what Selenium is. So, if you go by the official definition, Selenium automates browsers that’s it. It is a set of tools to automate browsers on many platforms. WebDriver is among this set of tools along with IDE, RC (Remote Control) and Grid. We’ll talk only about Selenium WebDriver in this post. What is Selenium WebDriver and what does it do? Selenium WebDriver is a test automation framework which is used to automate the tests on different browsers.

What is static in Java?

static is a non-access modifier in Java which is used mainly for the purpose of memory management. static belongs to the class instead of the instance of the class. static keyword can be used with: Variables Methods Nested Classes Blocks In order to create a static member, we need to write the keyword static preceding the declaration of the member. Static Variables If a variable is declared as static: It will get memory only once in the class area at the time of class loading.

How to set up Selenium WebDriver with Eclipse and Java?

This is the very first step towards writing a great automation framework using Selenium WebDriver. As already stated, we’ll only cover the Selenium WebDriver tutorials with Java and Eclipse. Here’s the step by step guide to set up Selenium WebDriver with Eclipse and Java: Installing Java on a Windows machine Assuming you have a windows machine, in order to have Java up and running on your system, you’ll have to install JDK (Java Development kit).