Home » Selenium WebDriver Tutorial


Selenium WebDriver is one of the most well-known testing frameworks in the world that is in use. It is an open source project that allows testers and developers alike to develop functional tests to drive the browser. It provides power in hand of automation engineer to automate functional along with UI stuff of any web application. Selenium WebDriver can work on any browser that supports JavaScript since Selenium has been built using JavaScript.

Selenium WebDriver Tutorial

Here I am making effort to bring whatever I have read and done as a student of Selenium


Selenium IDE

Selenium Introduction and Locators:

Selenium WebDriver Configuration and other supported installation

Browser things in WebDriver

Parallel Execution of Script in various browser

Assertions used WebDriver

Wait in WebDriver

Basics of Frameworks in WebDriver

Custom Reporting in WebDriver

WebDriver generic WebElement Handling

Database connectivity in Selenium/Java

Learn Selenium from other fraternity sites

13 thoughts on “Selenium-WebDriver”

  1. Deepika Lalwani

    Hi dwarika,

    I would appreciate if u can help me with captcha. There might be some way to bypass it. 🙂

  2. Pingback: How to execute Selenium WebDriver test cases parallel in multiple Browser using Testng parameter Annotation | Abode QA

  3. Hi Dwarika,

    I have one question ; What will be the Base Language knowledge i should have to learn Selenium Web-driver, Like JAVA / JAVASCRIPT / HTML ?

    I am not able to decide from where i should start.
    Can you guide me for this .


  4. Hi Dwarika Dhish Mishra,
    could you please explain how to get screenshot of failed testcase in webdriver?


    1. Hi Saipradeep, use the below method in ur code to get screenshot for failed TC’s

      @ AfterMethod
      public void tearDown(ITestResult result) throws FileNotFoundException, Exception {

      // Here will compare if test is failing then only it will enter into if condition
      if (ITestResult.FAILURE == result.getStatus()) {
      try {
      // Create refernce of TakesScreenshot
      TakesScreenshot ts = (TakesScreenshot) driver;

      // Call method to capture screenshot
      File source = ts.getScreenshotAs(OutputType.FILE);

      // Copy files to specific location here it will save all screenshot in our project home directory and
      // result.getName() will return name of test case so that screenshot name will be same
      FileUtils.copyFile(source, new File(“./Execution_Screenshots/Failed_Case_Screenshots/” + result.getName() + “.png”));

      System.out.println( “Screenshot taken” );
      System.out.println( “Test FAILED” );

      } catch (Exception e) {

      System.out.println(“Exception while taking screenshot ” + e.getMessage());



  5. Hi, can u please tel me how to write Auto IT Code for Chrome Browser Authentication I tried so many ways,
    but no use.
    It was working fine for FireFox driver

  6. Pingback: Best links to learn Xpath | Humour Cell

  7. Pingback: Top Best Software Testing Trends to watch out in 2021

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
%d bloggers like this: