Hello Selenium - Writing your first Selenium code

What is selenium?

Selenium is a popular open-source software testing framework used for automating web applications. It has several components and Selenium WebDriver is the one widely used by most of the testing professionals.


What do we need to write a browser automation script using Selenium?

We need to use a programming language. Selenium has support for almost all the modern major languages. We are going to use Java. and IDE (integrated development environment like Eclipse, Intellij) We are going to use Eclipse. And selenium java maven dependency.
  1. Install Java JDK
  2. Install Eclipse
  3. Copy maven dependency for selenium. Refer below

Let's write our first code


The above code will lanch a chrome browser.

No comments:

Post a Comment

Copyright (c) 2024 Prasanna Dev Kumari All Rights Reserved