Locators In Selenium Webdriver- Which locator in Best for Automation?

preview_player
Показать описание
If you are working with web element then you should learn about locators then only you can achieve more using Selenium. In this session, I will be talking about Locators In Selenium Webdriver.

This is one of the frequently asked question in the Selenium interview.

XPath Part 1 and Part 2

CSS in Details
Рекомендации по теме
Комментарии
Автор

Superb explanation with lots of patience, am taking class of selenium outside but not like urs detail explanation..thanks a lot Mukesh sir.. 🙏 ur concepts clears all my doubts..

gouryraj
Автор

Very well explained! Thank you so much for explaining in brief. It helps me a lot. You are an amazing tutor.

grishmasheladiya
Автор

Hello Mukesh Sir. Are there any kind of notes provided by you. You are teaching very excellently and i am able to understand your concepts thoroughly.

darshanbhatt
Автор

Wow, very well explained !! Excellent work Mukesh and thanks a lot

vinitar
Автор

This is the best explanation I have seen in recent times.. Thanku mate and god bless brother ❤️❤️✌️✌️

maharshirelangi
Автор

Excellent explanation...indeed a talented teacher...thank you so much!

illusion
Автор

Hi @Mukesh, instead of finding the elements in the HTML code, can we check and copy the available locators directly from selectors Hub extension directly??

AshuTest
Автор

Hi Mukesh.👋
I have read some where.,
compared to xpath css is some what fast while identifying Elements.
Please let us know.
Thanks.
Muralidhar 😊👍

muralidharch
Автор

Hello Mukesh can you please make a video on how to perform parallel testing in testNG with a live example?

jazzzie
Автор

hi Mukesh, Thanks for the video,
i have one question that:
What difference does it make to find all the elements from DOM with certain tag?
Whether the image is overlapping other images OR not ?

Thanks again for the video.

atulthorat
Автор

well done bro, thank you excellent explanation

lakshmireddy
Автор

Hi Mukesh, could you please clarify this doubt -
@12:38 variable "pass" is an object of By class and we know By is an abstract class, but in Java we cannot create object of an abstract class....then howz it possible, what is the funda here??

Imran-M-
Автор

@Mukesh Ji,
What should I do if a selector is showing 1of1 in the browser but while using in Selenium script it says unable to locate the element even though I used wait()?
please help
I am automating a salesforce application and it has dynamic ids.

sfdc_qa
Автор

hello Mukesh, do u have full video about "orange HRM" automation demo, if so can you plz upload it, thank you apperiate

MrKadeer
Автор

why indirect locator/customized locators are slow, what is logical reason behind it?

LightAtEndOfTheTunnel
Автор

How to find xpath or other locator for sas va UI objects...I have inspected the elements and in html there are .js scripts..like... <script src = type = "text/javascript" charset = "uft-8"></script>
...how to find xpath or other locator for these kind of webpages....please help

saketjha
Автор

Is the @pagefactoryiniteElement deprecated?

rakhirahman
Автор

how to click forgot password link using xpath text

nileshchaudhari