Different Locators in WebDriver (ID,Xpath,CSSSelector etc) - Selenium WebDriver Session 3

preview_player
Показать описание
Selenium WebDriver Session - 3 : Different Locators in Selenium.

How to use Xpath, ID, Name, CssSelector, ClassName, LinkText, PartialLinkText

Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

-~-~~-~~~-~~-~-
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
-~-~~-~~~-~~-~- Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Paid courses (Recorded) videos:
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
-------------------------------

✔️SOCIAL NETWORKS
--------------------------------

Support My Channel✔️Or Buy Me A Coffee
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
Рекомендации по теме
Комментарии
Автор

I am working as a Manual Tester, and now I am learning Selenium to upgrade myself. Your videos are so helpful to learn easily, thanks a lot.

gayatritankar
Автор

Thanks naveen for woderful effort. I reffered your's recordings. Now i got placed in good MNC in last week as senior Test Engineer.
Jai Jagadeesha

jaijagadeesha
Автор

Thank you Naveen for helping me to learn automation.. I have seen couple of youtube videos on automation, your way of teaching is far the best...

taherafirdose
Автор

Your training has really helped me immensely. Thank you so much sir!

nidhi
Автор

You explain everything very clear
But one problem font size please increase it.

Kamal-vdzg
Автор

very useful, hats off to u job indeed

sAlam-ekuw
Автор

explained very well about xpath and links thank you so much

saisanketh
Автор

Hi Naveen, its great learning from your videos. Thanks a lot.
Also want to add one more example having issue with hierarchy based xpath based on my understanding of course your teaching only :), is lets say you have same address with same apartment/house number with one entrance door but now we added one more entrance.. So in this case your door may change from door 1 to door 2 like div[1] to div[2].. so in this case xpath is no longer valid. Hence even though you are present at that address or same way web element are there on the page but address/xpath is not correct.

RahulJha-bucv
Автор

Really great explain sir, thanks for sharing your knowledge 🙏🙏🙏❤️❤️

vinoddhale
Автор

Firebug is disabled in latest firefox above v57(or so).
Solution- inspector is now in-built in Firefox. Just go to Settings in Firefox - >Webdeveloper->Inspector (OR) Ctrl+Shift+C . This will enable the inspector and you can find your id, class etc. However customizing xpath is going to be tricky.

nidhim
Автор

Hi Naveen your videos are very helpful but please increase a font size whenever you are making videos.

meghakalal
Автор

Hi Naveen, could you please also make a video on how to add firebug in latest version of firefox...it seems really hard to find that

MyWalia
Автор

Sir Please Can You Arrange all this selenium video's as sequentially. it will help us .

chetandhok
Автор

hello naveen, you told to add firebug and firepath for firefox. But in case of Google chrome which add ons we have to add?

ketakichalse
Автор

Thanks Naveen for your great videos. The latest version of FireFox does not support Firebug and FirePath. Can you make a video on that, please? Thanks again.

revaluation
Автор

Hi Naveen,
I am following Your videos. Your teaching is the best. I am just requesting that will you please tell me that
how to click on the reCAPTCHA using Selenium and Java. I tried many steps but no luck.

supriyakodole
Автор

For firebug& firepath plugins for older versions of Firefox eg: 45, 46, 47, while installing older version of Firefox for plugins purpose, we need to select "Custom" option & we need to give our personal folder location.to install plugins in our pc.

Dandamudiswathi
Автор

Hi Naveen,
First of all thanks a lot for these videos.They are really helpful.
I am new to automation. have a doubt regarding a issue I came across while automating my client's website.
I had inspected an element in the page where I created a dynamic xpath .Through that xpath i was able to search it in the inspect page of the browser.However when I gave that xpath to my code it was unable to search it.I got error as couldnt find the element.I got stuck at that point. Then i realized through my automation team mate that we need to use java script executor for that.
How can we know when to use java script in selenium ?

tanvishetty
Автор

Could you please explain different methods to write css selectors(eg:child, descendent)..

merlinelizabethmathew
Автор

Hello Naveen, I am big fan of your way of teaching. I must say i have learnt alot from you be it Page Object Model or Java or any other topic. Sir, i wanted to locate SVG element and i am not able to get to know how to create xpath for SVG elements. Please share any article or suggest me something on this. Any help is appreciable..

blankbox