What will you learn in this lecture?

In the previous video, we learned how to find a table with no ID of this Selenium WebDriver elements identification course. In this video, we’ll have to learn DOM in Selenium WebDriver.

DOM in Selenium Webdriver

So there is one more locator that we need to talk about that is available in Selenium WebDriver and that is called DOM which is short for document object model.

And basically, it uses the structure of the page to locate elements. You guys can find a lot more online just by searching how to use document object model in Selenium WebDriver.

But it’s not a good method of locating elements on a page. In fact, I don’t even want to teach it to you guys because it’s a waste of time.

You almost never have to use this method. In fact, I have never come across a time where I’ve needed to use it. Therefore, you probably don’t need to know it.

As always, I like to focus on those things, right the 20% over the learning that’s going to get you 80 percent of the results. And this part the DOM is just not part of that 20 %. It’s the, in fact, it’s not even part of the five percent. It’s just the knowledge that you may need one day for a very small situation that may come up one time in your life.

Therefore, it’s nice that you guys know about it. However, don’t waste your time learning it unless it’s extremely critical for you.

But I believe that 99% of you will be able to get by with everything that I taught you here without needing to utilize the document object model.

[Tweet “Learn everything about elements identification with Selenium Webdriver.”]

Next Tutorial

In the next tutorial, we will cover how to evaluate elements at runtime.

What will you learn in this course?

Are you struggling with working with HTML using Selenium WebDriver? Do you know how to easily identify an element using Selenium WebDrriver? Do you know how to manipulate that web element? Do you know how to perform a drag n’ drop on an element? If not, then these are just a few of the questions that will be answered in this course.

This course is a complete guide on working with web elements in Selenium WebDriver! Once you are finished with this course, you will know how to work with any web elements, any time, on any web application.

“Relevant content that I will be able to apply to my automation tests *immediately*, a VERY effective presentation approach (evolving the same example and comparing/contrasting), and an excellent teacher / presenter. Thank you so much for your time and sharing your knowledge Nikolay!.” 


In this course from Ultimate QA, you will learn:

  • Basics of HTML
  • All the different locator strategies for Selenium WebDriver
  • How to identify web elements using Selenium WebDriver
  • Master XPath
  • Navigation with Selenium WebDriver
  • Web element manipulation
  • Web element interrogation
  • Mouse and keyboard actions with Selenium WebDriver
  • Performing actions such as drag n’ drop, drawing, hovering
  • Implicit and Explicit waits
  • How to properly handle element identification so that your tests are not flaky
  • Expected Conditions in Selenium WebDriver

Take This Entire Course for Free

[Tweet “Learn how to correctly identify elements using #Selenium #Webdriver.”]How