30+ Best Selenium Tutorials: Learn Selenium With Real Examples

A Complete List of the Best Selenium Tutorials to Learn and Master Selenium From Scratch: 

After several frequent requests from STH readers, today we are finally launching our FREE Selenium Tutorial series. In this Selenium training series, we will cover all Selenium testing concepts and its packages in detail with easy to understand practical examples.

These Selenium tutorials are helpful for beginners to advanced level Selenium users. Starting from the very basic Selenium concepts tutorial, we will gradually move on to the advanced topics like Framework creation, Selenium Grid, and Cucumber BDD.

Selenium Tutorials

A Complete List of The Selenium Tutorials in This Series:

Selenium Basics:

Selenium WebDriver:

Selenium Framework:

Advanced Selenium:

Selenium Tips and Interview Preparation:


How to start Learning Selenium?

This is the best time to start learning Selenium testing on your own with the help of this free Selenium Training series. Read tutorials, practice examples at your home, and put your queries in the comment section of the respective tutorials. We will address all of these queries.

This is our genuine effort to help you learn and master one of the most popular software testing tools!

Selenium Introduction

We are much delighted to launch our yet another series of software testing training tutorials. The belief behind introducing this tutorial is to make you an expert in one of the widely used software test automation solution, Selenium.

In this series, we will look at the various facets of Selenium. Selenium is not just a tool, it is a cluster of independent tools. We will look into some of the Selenium tools in detail with practical examples wherever applicable.

Before you jump into reading this exciting and useful series, let us take a look at what it has got in store for you.

Why Selenium?

The current industry trends have shown that there is a mass movement towards automation testing. Hence a cluster of repetitive manual testing scenarios has raised a demand to bring in the practice of automating these manual scenarios.

There are several Benefits of implementing Automation Test; let’s take a look at them:

  • Supports execution of repeated Test Cases
  • Aids in testing a large Test Matrix
  • Enables parallel execution
  • Encourages unattended execution
  • Improves accuracy thereby reducing human-generated errors
  • Saves time and money

All of these benefits result in the following:

  • High ROI
  • Faster GoTo market

There are several Automation testing benefits which are well understood and largely talked about in the software testing industry.

One of the most commonly asked questions that come with this are –

  • What is the best tool for me to get my tests automated?
  • Is there a cost involved in it?
  • Is it easy to adapt?

One of the best answers to all the above questions for automating web-based applications is Selenium. Because:

  • It’s an open-source
  • It has a large user base and helping communities
  • It has multi-browser and platform compatibility
  • It has active repository developments
  • It supports multiple language implementations

First Glance at Selenium

Selenium is one of the most popular Automated Testing suites. Selenium is designed in such a way to support and encourage Automation Testing of functional aspects of web-based applications and a wide range of browsers and platforms. Due to its existence in the open-source community, it has become one of the most accepted tools amongst the testing professionals.

Selenium supports a broad range of browsers, technologies, and platforms.

Selenium intro 1 new

 


Selenium Components

Selenium is not just a single tool or a utility, its rather a package of several testing tools, hence it is referred to as a Suite. Each of these tools is designed to cater to different testing and test environment requirements.

The suite package constitutes of the following set of tools:

  • Selenium Integrated Development Environment (IDE) Selenium intro 2
  • Selenium Remote Control (RC) Selenium intro 3
  • Selenium WebDriver
  • Selenium Grid Selenium intro 4

Selenium RC and WebDriver, combined together are popularly known as Selenium 2. Selenium RC alone is also referred to as Selenium 1.

Selenium intro 5

Brief Introduction to Selenium Versions

Selenium Core

Selenium is a result of the continuous efforts by an engineer named Jason Huggins from ThoughtWorks. Being responsible for the testing of an internal Time and Expenses application, he realized the need for an automation testing tool in order to get rid of repetitive manual tasks without compromising quality and accuracy.

As a result, he built a JavaScript program, named as “JavaScriptTestRunner” in early 2004 that could automatically control the browser’s actions which seemed very much similar to that of a user communicating with the browser.

Henceforth, Jason started demoing the tool to a vast audience. Eventually, the discussions were laid out to categorize this tool in an open-source category and its potential to grow as a re-usable testing framework for other web-based applications.

The tool was later acclaimed with the name “Selenium Core”.

Selenium IDE (Selenium Integrated Development Environment)

Selenium IDE was developed by Shinya Kasatani. While studying Selenium Core, he realized that this JavaScript code can be extended to create an integrated development environment (IDE), which can be plugged into Mozilla Firefox. This IDE was capable of recording and playing back the user actions on a Firefox instance to which it was plugged-in. Later on, Selenium IDE became a part of Selenium Package in the year 2006. Later this tool turned out the great value and potential to the community.

Selenium IDE is the simplest and easiest of all the tools within the Selenium Package. Its record and playback features make it exceptionally easy to learn with minimal acquaintances to any programming language. With several advantages, a few disadvantages accompanied Selenium IDE, thus making it inappropriate to be used in case of more advanced test scripts.

Advantages and Disadvantages of Selenium IDE:

Selenium intro 6

The disadvantages of IDE are really not disadvantages of Selenium, in reality. Rather they are just limitations to what IDE could achieve. These limitations can be overcome by using Selenium RC or WebDriver.

Selenium RC (Selenium Remote Control)

Selenium RC is a tool written in Java to allow a user to construct test scripts for a web-based application in any programming language he/she chooses. Selenium RC came as a result to overcome the various disadvantages incurred by Selenium IDE or Core.

Loopholes and restrictions which were imposed while using Selenium Core made it difficult for the user to leverage the benefits of the tool to its totality. Thus it made the testing process a cumbersome and a far-reaching task.

One of the crucial restrictions was the Same Origin Policy.

Problem With Same Origin Policy:

The problem with Same Origin Policy is, it disallows to access the DOM of a document from an origin that is different from the origin we are trying to access the document.

Origin is a sequential combination of scheme, host, and port of the URL. For example, for the URL http://www.seleniumhq.org/projects/, the origin is a combination of HTTP, seleniumhq.org, 80 correspondingly.

Thus Selenium Core (JavaScript Program) cannot access the elements from an origin that is different from where it was launched.

For Example, if I have launched the JavaScript Program from “http://www.seleniumhq.org/”, then I would have been able to access the pages within the same domain such as “http://www.seleniumhq.org/projects/” or “http://www.seleniumhq.org/download/”. The other domains like google.com, yahoo.com would no more be accessible.

Thus, to test any application using Selenium Core, one has to install the entire application on the Selenium Core as well as a web server to overcome the problem of the same-origin policy.

Selenium intro 7

So, In order to govern the same-origin policy without the need of making a separate copy of Application under test on the Selenium Core, Selenium Remote Control was introduced. While Jason Huggins was demoing Selenium, another fellow colleague at ThoughtWorks named Paul Hammant suggested a workaround of the same-origin policy and a tool that can be wired up with a programming language of our choice. Thus Selenium RC came into existence.

Unlike Selenium IDE, Selenium RC supports a wide range of browsers and platforms.

Selenium intro 8

Workflow Description

  • The user creates a test script in the desired programming language.
  • For every programming language, there is a designated client library.
  • Client library deports the test commands to the selenium server.
  • Selenium server deciphers and converts the test commands into JavaScript commands and sends them to the browser.
  • The browser executes the commands using Selenium Core and sends the results back to the Selenium server
  • Selenium server delivers the test results to the client library.

There are a few pre-requisites to be in place before creating Selenium RC scripts:

  • A Programming Language – Java, C#, Python etc.
  • An Integrated Development Environment –Eclipse, Netbeans etc.
  • A Testing Framework (optional) – JUnit, TestNG etc.
  • And Selenium RC setup off course

Advantages and Disadvantages of Selenium RC:

Please refer the following figure to more about the advantages and disadvantages of Selenium RC.

Selenium intro 9

Selenium Grid

With selenium RC, the life of a tester has always been positive and favorable until the emerging trends raised a demand to execute the same or different test scripts on multiple platforms and browsers concurrently so as to achieve distributed test execution, testing under different environments and saving execution time remarkably. Thus, catering these requirements Selenium Grid was brought into the picture.

Selenium Grid was introduced by Pat Lightbody in order to address the need for executing the test suites on multiple platforms simultaneously.

Selenium WebDriver

Selenium WebDriver was created by yet another engineer at ThoughtWorks named Simon Stewart in the year 2006. WebDriver is also a web-based testing tool with a subtle difference with Selenium RC. Since the tool was built on the fundamental where an isolated client was created for each of the web browsers; no JavaScript Heavy lifting was required. This led to a compatibility analysis between Selenium RC and WebDriver. As a result of which a more powerful automated testing tool was developed called Selenium 2.

WebDriver is clean and purely an object-oriented framework. It utilizes the browser’s native compatibility to automation without using any peripheral entity. With the increasing demand, it has gained a large popularity and user-base.

Advantages and Disadvantages of Selenium WebDriver:

Refer the following figure for more information about the advantages and disadvantages of WebDriver.

Selenium intro 10

Selenium 3

Selenium 3 is an advanced version of Selenium 2. It is a tool which is focused on automation of mobile and web applications. Stating that it supports mobile testing, we mean to say that the WebDriver API has been extended to address the needs of mobile application testing. The tool is expected to be launched soon in the market.

Environment and Technology Stack

With the advent and addition of each new tool in the Selenium suite, environments and technologies become more compatible. Here is an exhaustive list of environments and technologies supported by Selenium Tools.

Supported Browsers

Selenium intro 11

Supported Programming Languages

Selenium intro 12

Supported Operating Systems

Selenium intro 13

Supported Testing Frameworks

Selenium intro 14

Conclusion

In this tutorial, we tried to make you acquainted with the Selenium suite describing its various components, usages, and their advantages over each other.

Here are the cruxes of this article.

  • Selenium is a suite of several automated testing tools, each of them catering to different testing needs.
  • All these tools fall under the same umbrella of an open-source category and support only web-based testing.
  • Selenium suite is comprised of 4 basic components; Selenium IDE, Selenium RC, WebDriver, and Selenium Grid.
  • The user is expected to choose wisely the right Selenium tool for his/her needs.
  • Selenium IDE is distributed as a Firefox plug-in and it is easier to install and use. The user is not required to possess prior programming knowledge. Selenium IDE is an ideal tool for a naive user.
  • Selenium RC is a server that allows a user to create test scripts in the desired programming language. It also allows executing test scripts within the large spectrum of browsers.
  • Selenium Grid brings out an additional feature to Selenium RC by distributing its test script on different platforms and browsers at the same time for execution, thus implementing the master-slave architecture.
  • WebDriver is a different tool altogether that has various advantages over Selenium RC. The fusion of Selenium RC and WebDriver is also known as Selenium 2. WebDriver directly communicates with the web browser and uses its native compatibility to automate.
  • Selenium 3 is the most anticipated inclusion in the Selenium suite which is yet to be launched in the market. Selenium 3 strongly encourages mobile testing.

In the next tutorial, we would be discussing the basics of Selenium IDE, its installation, and the features. We would also have a look at the basic terminologies and nomenclatures of Selenium IDE.

Next Selenium Tutorial: Introduction to Selenium IDE and its installation with a detailed study on all the features of Selenium IDE (coming soon)

A remark for the readers: Our next tutorial of the Selenium training series is in the processing mode, meanwhile you can explore a bit about the Selenium suite and its tools by looking at its official website.

About the authors:
Shruti Shrivastava (our main author for this series), Amaresh Dhal, and Pallavi Sharma are helping us to bring this series to our readers. 

Stay tuned and share your views, comments, and knowledge. Also, let us know if you think that we missed out something so that we can include them in our subsequent tutorials.

Recommended Reading

220 thoughts on “30+ Best Selenium Tutorials: Learn Selenium With Real Examples”

  1. Hi geetha don’t worry..i will help you.

    Reply
  2. hi all,

    You people have any doubts or queries(cuz i have too) send me an email:
    “l.vijay.kumar225@gmail.com” we will discus.

    Reply
  3. Awesome article!!! Really great work in getting this thing together. Appreciate your efforts. Thank you!!!

    Reply
  4. What is the difference between WAP based applications testing and Mobile testing?

    WebDriver Supports WAP based applications testing and doesn’t support mobile testing didn’t understood this point.pls clarify anybody

    Reply
    • Nagarani, when we open website in mobile browser like chrome or uc browser then its called WAP. for example if you browse http://www.google.cm in desktop then its called web. and if you browse http://www.google.com in mobile’s browser then its called WAP.

      Reply
  5. hi.sir
    i m trying to download selenium 2.53.1 version but whatever file i download it is in win RAR zip ?so how to convert that file? reply me

    Reply
  6. Hey,

    Thanks for sharing the history behind Selenium which is so well written in very precise manner.

    Regards,
    Chirag

    Reply
  7. If anybody wants a pdf version of every tutorial, then use the site http://pdfcrowd.com/ to convert each page into a .pdf file. You can generate 32 pdf files and read them offline.

    Reply
  8. I want make a excel utility using selinium MB: 9925229068 please..

    Reply
  9. Do we have all these topics covered in C#?? Kindly respond

    Reply
  10. Hi all,

    I implemented page object model for my project.

    Ieally the case is like this:
    had the below classes in page_objects package.
    home_page.java
    login_page.java
    my_products.java
    x_product.java

    then, my java class for testing.java in in another package and imports the above said packages.

    All these page object model classes, has the below sample structure.

    public class Account_Page {
    private static WebElement element = null;

    public static WebElement lnkHome(WebDriver driver){
    element = driver.findElement(By.id(“lnkHome”));
    return element;
    }
    }

    One more page object model class
    public class Tools_Page {
    private static WebElement element = null;
    public static WebElement lnkCertificate(WebDriver driver){

    element =driver.findElement(By.cssSelector(“a[href*=’Certificate’]”));
    return element;
    }
    }

    main.java file will be like this:

    public class test_login_logout {
    private static WebDriver driver = null;
    @Test
    public static void main ( String[] args) throws InterruptedException,NoSuchElementException{



    Account_Page.lnkTools(driver).click();
    Tools_Page.lnkCertificate(driver).click();

    }

    I’m getting error at invoking the Tools_page method:

    The below are the error:
    =========================
    *** Element info: {Using=css selector, value=a[href*=’Certificate’]}
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
    at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:492)
    at org.openqa.selenium.By$ByCssSelector.findElement(By.java:430)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
    at Page_Objects.Tools_Page.lnkCertificate(Tools_Page.java:13)
    at Automation_Framework.test_login_logout.main(test_login_logout.java:54)
    ==========================

    Please help me with this

    Reply
  11. Hi,
    I was looking for such selenium tutorial, I m really excited to learn & became an expert in Selenium ,
    I want to use Selenium with Python , will it be covered ?

    Reply
    • Hello Kaizar, how is the selenium with python going with you? Please, advice me on where I can go get the best python course for selenium as a beginner, with no knowledge in python. Thanks in advance.
      Here is my email akaniboy7@gmail.com, you can email me, please .

      Reply
  12. Great intro guys..will go through all topis..

    Reply
  13. hi.. i m php developer and having 6 years exp.. now i m looking for diff technology.. which is the better technology for future..someone suggested selenium.. any suggestions please.

    Reply
  14. Hello team,

    Thanks for the great tutorial. I would like to know what are flash/flex objects?
    what do you mean by “support implementation of listeners”

    Reply
  15. Excellent content . Systematic approach for better understanding . Hats off

    Reply
  16. Great efforts put it to find the list of Selenium Training Tutorials, Definitely will share the same to other forums.
    I was very much helpful.
    I was looking for the same for longtime, I will be sharing the reference to other forums as well.
    Keep rocking!!

    Reply
  17. Thank you for the tutorial, as a novice manual tester (without any programming language knowledge), i am very eager to learn automation testing and selenium. Can you suggest or upload a video tutorial on how selenium testing tool can be a useful tool?

    Reply
  18. Thanks for sharing a valuable information.
    Yes Selenium is definitely made our lives easier with great features for automation.

    Thanks a lot.

    Reply
  19. Hi, Reading this article in 2017, The article needs an Update since Selenium 3 is launched.

    Reply
  20. Real very nice Coverage…Thanks..

    Reply
  21. I am new to start selenium from scratch. Please help me out to start from beginning with basic concepts.

    Reply
  22. Its something which was I was looking for.
    Thanks a Ton !!!

    Reply
  23. Just started & found this awesome stuff.

    Reply
  24. package com.flipkart.pagefactory;
    ****************************DRIVER HOME

    package com.flipkart.pagefactory;

    import org.openqa.selenium.support.PageFactory;

    public class DriverHome extends FlipkartBase{

    public static HomePage homePage;

    public static HomePage getHomePage() throws Exception {
    //return PageFactory.initElements(driver, this);
    return PageFactory.initElements(driver, HomePage.class);
    }

    }

    ************************************************************************HOME PAGE
    package com.flipkart.pagefactory;

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;

    import org.junit.Assert;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.support.FindBy;
    import org.openqa.selenium.support.How;

    public class HomePage extends FlipkartBase {

    //public static HomePage homePage;
    @FindBy(name = “q”)
    public WebElement productSearch;

    @FindBy(xpath = “//button[@class=’vh79eN’]”)
    public WebElement searchButton;

    @FindBy(xpath = “//input[@placeholder=’Search Brand’]”)
    public WebElement searchBrand;

    @FindBy (xpath = “//input[@class=’_1p7h2j’]”)
    public WebElement productSelectionCheckbox;

    @FindBy (xpath = “//input[@placeholder=’Search Brand’]/following::div[2]/div/label/div[1]”)
    public WebElement brandSelectionCheckbox;

    @FindBy (xpath = “.//*[@id=’container’]/div/div[2]/div[2]/div/div[1]/div/div/div[4]/section/div”)
    public WebElement ramSelection;

    @FindBy (xpath = “//div[@id=’container’]/div/div[2]/div[2]/div/div/div/div/div[4]/section/div[2]/div/div[5]/div/div/label/div”)
    public WebElement GB3RamSelection;

    @FindBy (xpath = “//h1”)
    public WebElement resultMessage;

    /* public HomePage ()
    {
    //System.out.println(“driver:: “+driver);
    //this.homePage = PageFactory.initElements(driver, HomePage.class);

    //homePage = PageFactory.initElements(driver, HomePage.class);
    PageFactory.initElements(driver, HomePage.class);
    //return homepage;
    }*/

    /*public static HomePage getHomePage() throws Exception {
    //return PageFactory.initElements(driver, this);
    return PageFactory.initElements(driver, HomePage.class);
    }
    */
    //Enter the product Type
    public void selectProductType(String productType)
    {
    System.out.println(“STARTED”);
    productSearch.sendKeys(productType);
    searchButton.click();
    System.out.println(“ENDED”);

    }

    public void selectBrandName(String brandName)
    {
    searchBrand.sendKeys(brandName);
    brandSelectionCheckbox.click();
    }
    public void selectMobileRAM(String ramSize) throws InterruptedException
    {
    if(ramSize.equalsIgnoreCase(“3GB”))
    {
    System.out.println(“before ram click”);
    ramSelection.click();
    System.out.println(“after ram click”);
    GB3RamSelection.click();
    System.out.println(“after ram selection”);
    }
    }

    public void verifyResultsStatus()
    {
    boolean status = resultMessage.getText().contains(“Showing 1 –”);
    Assert.assertTrue(status);
    }

    }

    ***************************************************************************************BASE
    package com.flipkart.pagefactory;

    import java.io.File;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.concurrent.TimeUnit;

    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;
    import org.openqa.selenium.ie.InternetExplorerDriver;
    import org.testng.annotations.AfterSuite;
    import org.testng.annotations.BeforeSuite;

    public class FlipkartBase {
    public static WebDriver driver;

    public static int i=10;

    @BeforeSuite
    /*@Parameters({“browserType”})*/

    public void getDriver() throws Exception
    {
    String browserType = getReadConfigKey(“browser”);
    if (browserType.equalsIgnoreCase(“ie”))
    {
    System.setProperty(“webdriver.ie.driver”, “E:\\Selenium_Training\\IEDriverServer.exe”);
    driver = new InternetExplorerDriver();
    }
    else if (browserType.equalsIgnoreCase(“chrome”))
    {
    System.setProperty(“webdriver.chrome.driver”, “E:\\Selenium_Training\\chromedriver.exe”);
    driver = new ChromeDriver();
    }
    else if (browserType.equalsIgnoreCase(“firefox”))
    {
    System.setProperty(“webdriver.gecko.driver”, “E:\\Selenium_Training\\geckodriver.exe”);
    driver = new ChromeDriver();
    }
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    driver.get(“https://www.flipkart.com/”);
    }

    @AfterSuite
    public void quitDriver()
    {
    driver.quit();
    }

    public String getReadConfigKey(String sKey) throws Exception
    {
    File file = new File(“./config.properties”);

    FileInputStream fileInput = new FileInputStream(file);

    Properties prop = new Properties();
    prop.load(fileInput);
    return prop.getProperty(sKey);
    }

    }
    ‘*******************************************************************************************
    TEST SCRIPT
    package com.flipkart.testscript;

    import org.testng.Assert;
    import org.testng.annotations.Test;

    import com.flipkart.pagefactory.DriverHome;

    public class SearchMobiles extends DriverHome{

    //

    @Test
    public void verifyMobileStock() throws Exception
    {
    //driver.findElement(By.name(“q”)).sendKeys(“Mobiles”);

    //Direct page factory usage
    /*HomePage homePage= PageFactory.initElements(driver, HomePage.class);*/

    //Constructor of PageClass
    homePage = DriverHome.getHomePage();
    homePage.selectProductType(“mobiles”);
    homePage.selectBrandName(“Gionee”);
    Thread.sleep(5000);
    //homePage.selectMobileRAM(“3GB”);
    homePage.verifyResultsStatus();
    //homePage.selectMobileRAM(“3GB”);
    /*String source = homePage.getPageSrc();
    Boolean boolStatus = source.contains(“results”);

    Assert.assertTrue(boolStatus);*/

    }

    }

    Reply
  25. Fantastic work!!! , Nicely written …

    Reply
  26. Hi,

    Can any one plz let me know if we can automate SAP using selenium? And if yes how?

    Reply
  27. Hi,

    I’m new to automation and would like to learn selenium from stratch. I tried installing Selenium IDE in firefox latest version (version 55) which says its not compatible with firefox. How to make it work? Please help.

    Reply
  28. Hi Divya,
    From Firefox 55 onward,Selenium IDE will no longer work.

    Reply
  29. Hi Dhanalakshmi, you sais firefox 55 onwards selenium IDE will no longer work.. is there an alternative to download?

    Reply
  30. IS there any one free to discuss and willing to learn selenium from scratch with frame work of POM and PAGE FACTORY.contact:josalim3 Skype and mobile:8668039881

    Reply
  31. HI Vishal,

    Contact me any time

    Reply
  32. Thank you so much for this meaningful, easy and well-explained article, I like the way of presenting this article.
    Thankful for this.
    We will expect much from your side.
    Please post regarding how to build the framework with the practical example.

    Reply
  33. Described selenum Stuff is Simply Super..!
    Interesting, Thank you for providing Valuable Content.

    Reply
  34. Hi,
    We are working selenium webdriver 2.53 and C# ,I need to disable developer extension mode all browser while open in browser using selenium web driver , Most of code in java but i need to C# code level.if you have any answer plase help us resolve my issue.

    Reply
  35. Hi Team,
    Thank you very much for such a wonderful tutorial. You guys are awesome :) .

    Reply
  36. I am unable to set up eclipse, selenium on ubuntu. When I run the test suit it gives me jdk jre compatibility issue.

    Reply
  37. On a website there are 2 identical input box. I am able to locate the first one using xpath…

    driver.find_element_by_xpath(“//input[@type=’password’]”)

    But now, i want to locate the input box just below this one, and exactly identical one.

    It is always locating the first one. How do i locate the 2nd one..

    Please advice.

    Reply
    • @Webca
      If you have multiple elements you can specify using [n]:
      driver.find_element_by_xpath(“(//input[@type=’password’])[2]”)

      Reply
  38. Hi Team,

    Well I would definitely appreciate you guys for putting in lot of efforts in articulating this series. I have started learning Selenium as a new beginner. I have gone through few of the websites about selenium automation training. The difference i could able to figure out from other websites to your portal is that Your explanation is Simple, Straight to the Point and Informative.
    Well Done Guys…..

    Thanks,
    Kiran

    Reply
  39. Hi ,

    I am using Windows 10 and firefox 60.0.1 (64-bit) version.
    I am trying to execute automation test on latest selenium IDE but,issue that i am getting is – there is no menu bar and no options like ‘REFERENCE’ ‘UI ELEMENT’ and ‘ ROLL UP ‘ options in it Can anyone resolved my issue

    Reply
  40. Thanks for the blog.
    Very easy to understand basics structure of selenium.
    Also it helps to differentiate the advantage and disadvantage of the this programming language

    Reply
  41. Hi,

    Which is more trending open source tool for functional testing or performance testing that Tester need to learn

    for earning good money in market

    Reply
  42. How old is this tutorial? Selenium IDE is already available for Chrome as well:

    “The Selenium-IDE (Integrated Development Environment) is the tool you use to develop your Selenium test cases. It’s an easy-to-use Chrome and Firefox extension and is generally the most efficient way to develop test cases. It records the users actions in the browser for you, using existing Selenium commands, with parameters defined by the context of that element. This is not only a time-saver, but also an excellent way of learning Selenium script syntax.”
    https://www.seleniumhq.org/docs/02_selenium_ide.jsp

    Reply
  43. Hello,

    I am downloading Java and it says “This type of file may harm your computer “. Should I continue or is there any other way?

    Thank You!

    Reply
  44. I have some doubt regardging testing which one i have to learn for selenium ide or selenium webdriver or selenium rc please tell me

    Reply
  45. Having around 5 years of experience in manual testing, Could anybody suggest which automation is better and provide some relevant links to study on the same?

    Reply
  46. Hi Team,
    I am working on a desktop application which requires automation testing. Can you please help me know if we can use selenium 2 for automating desktop applications.

    Reply
  47. Hi,

    I have created the test scripts in python and running these scripts in the eclipse. I have also configured the selenium.
    And my test scripts are working fine to navigate the page with the help of scripts but i am unable to report bugs automatically.

    Please help me here to export the bug report and report the bugs automatically.

    Thanks & Regards
    Laxman Singh

    Reply
  48. Hi,

    Can you please tell me, in what language should I start learning Selenium – Java, C#, Python.
    Which has more scope ??

    Reply
    • You can start in Java as Selenium + Java has more jobs all around.

      Reply

Leave a Comment