XPath vs CSS Selector in Selenium WebDriver | XPath | CSS Selector |

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.ค. 2020
  • In this video, I have explained about XPath vs CSS Selector in Selenium WebDriver.
    XPath (XML Path Language) is a query language for selecting nodes from an XML document.
    Or in other words, XPath is a query language for finding elements in an HTML web page.
    CSS Selector is a pattern used to find the elements in the HTML web page.
    This video clarifies the below questions on XPath and CSS selector:👇
    ✔ What is the difference between xpath and css selector?
    ✔ which one faster expath or css selector?
    ✔ How to use xpath and css selector in selenium webdriver?
    ✔ What is the difference between xpath and css selector?
    ✔ What is xpath?
    ✔ What is css selector?
    ✔ How to write xpath?
    ✔ How to write css selector?
    ✔ different types of xpath?
    ✔ different types of css selectors?
    ✔ xpath equivalent to css selector?
    ✔ which is the best xpath or css selector?
    ✔ How to write xpath and css selector?
    ✔ By.Xpath vs By.CssSelector?
    ✔ Xpath vs css selector?
    ✔ css selector vs xpath?
    ✔ Xpath vs css selector in selenium webdriver?
    ✔ css selector vs xpath in selenium webdriver?
    ✔ advantages of xpath
    ✔ disadvantages of xpath
    ✔ advantages of css selector
    ✔ disadvantages of css selector
    ==============================================
    ************* Checkout my other playlists *************
    ==============================================
    Java Programming videos playlist:👇
    🔗 bit.ly/3keRJGa
    Selenium WebDriver with Java videos playlist:👇
    🔗 bit.ly/2FyKvxj
    Selenium interview questions videos playlist:👇
    🔗 bit.ly/3matUB3
    Windows automation with FlaUI videos playlist:👇
    🔗 bit.ly/33CG4dB
    CSS Selectors videos playlist:👇
    🔗 bit.ly/2Rn0IbD
    XPath videos playlist:👇
    🔗 bit.ly/2RlLdkw
    Javascript Executor videos playlist:👇
    🔗 bit.ly/2FhNXwS
    Apache POI videos playlist:👇
    🔗 bit.ly/2RrngrH
    Maven videos playlist:👇
    🔗 bit.ly/2DYfYZE
    How to fix Eclipse errors:👇
    🔗 bit.ly/3ipvNYf
    ==============================================
    ==============================================
    Connect us @
    🔗 Website - www.hyrtutorials.com
    🔗 Facebook - HYRTutorials
    🔗 LinkedIn - www.linkedin.com/company/hyrtutorials
    🔗 Twitter - Hyrtutorials
    ==============================================
    ==============================================
    🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
    #selenium #xpath #cssSelector #xpathvscssselector #cssselectorvsxpath #hyrtutorials #webAutomation
    css selector,selenium webdriver,css selector in selenium,xpath tutorial,xpath in selenium webdriver,xpath tutorial for beginners,css selectors tutorial,relative xpath in selenium,,css selectors tutorial for selenium,hyr tutorials,h y r tutorials,css selector in selenium webdriver,xpath vs css selector selenium,xpath vs css,xpath vs css selector,css selector vs xpath selenium,css selector vs xpath,css vs xpath,xpath,differences between xpath and css,xpath and css selector in selenium,selenium xpath vs css,locators in selenium webdriver,X Path And CSS in Selenium Locators,which is faster xpath or css selector?,xpath and css selector,css selectors,selenium webdriver,selenium,hyrtutorials, xpath axes, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, xpath axes methods in selenium, xpath axes in selenium webdriver, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, selenium xpath tutorial, xpath axes methods in selenium, dynamic xpath in selenium webdriver, xpath axes in selenium webdriver, xpath tutorial for beginners, selenium webdriver tutorial, selenium tutorial for beginners, selenium testing tutorial, relative xpath, following-sibling, preceding-sibling, child, preceding, self & descendant,how to become genius in xpath in selenium?,using xpath to locate web elements,selenium interview questions

ความคิดเห็น • 53

  • @HYRTutorials
    @HYRTutorials  4 ปีที่แล้ว +1

    Please use the below link for the XPath videos playlist:
    🔗 bit.ly/2RlLdkw
    Please use the below link for the CSS Selectors videos playlist:
    🔗 bit.ly/2Rn0IbD

  • @kavitha-99
    @kavitha-99 6 หลายเดือนก่อน

    Wow!!!!
    No one explained the gist of selectors in one video and very short length video....
    Way to go!!!!
    You are the best of best!

  • @sangeetsingh8980
    @sangeetsingh8980 3 ปีที่แล้ว +5

    My heartiest thanks to you for making this video sir. Honestly i have been sleeping sleepy while watching any Axes tutorial. This is the first time i have watched it with all my open eyes and feeling happy n confident. I am new to Automation and your video really helped me. I just hope you make one series on selenium also. Student like me can really feel blessed to learn from your tutorials.
    God bless you sir and my all good wishes to you

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Wow, thank you!
      I have already created the series on selenium.
      In case if you missed it, please follow the below link for the selenium java videos playlist:
      bit.ly/2FyKvxj

  • @anupamadanda2493
    @anupamadanda2493 2 ปีที่แล้ว +1

    Learned a lot with examples thanks for making these vedios it's very helpful who started learning on selenium.

  • @utpalsarker6389
    @utpalsarker6389 4 ปีที่แล้ว +1

    Thank you for this Video Yadagiri!! Very well explained. I loved it. I wish there was a love button in youtube. As per my project, I am using both actually, but personally I like xpath more than css. keep making videos like this bro and help us!!! 👍

    • @HYRTutorials
      @HYRTutorials  4 ปีที่แล้ว +1

      Thankyou for your kind words Utpal

  • @smeeangle
    @smeeangle ปีที่แล้ว +1

    So clear. Thank you.

    • @HYRTutorials
      @HYRTutorials  11 หลายเดือนก่อน

      Thanks buddy 😊

  • @rakeshthakur9403
    @rakeshthakur9403 ปีที่แล้ว +1

    Thanks you so much for comparing defferent between CSS Selectors and XPath

  • @mitra.1
    @mitra.1 ปีที่แล้ว +1

    Excellent. Thank you

  • @joyadevarshi9117
    @joyadevarshi9117 3 ปีที่แล้ว +1

    Your videos are extremely useful

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Glad you think so.
      Please share them with your friends and colleagues.

  • @ajinxRGB
    @ajinxRGB ปีที่แล้ว +1

    Amazing video !! Great work bro.. thank you so much...

  • @shaiksharif2442
    @shaiksharif2442 3 ปีที่แล้ว +1

    Xpath. Your videos are really aswome.no boring part, continue the way I have suggested to many people to watch this

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou 😊
      Yeah please share with your friends and colleagues.

  • @mellamputisriramchowdary3628
    @mellamputisriramchowdary3628 3 ปีที่แล้ว +1

    Your Videos are really very good, You will have great future soon if you continue like this

  • @Dhanuu01
    @Dhanuu01 ปีที่แล้ว +1

    You are awesome Teacher.😇
    Thank you for your efforts.

    • @HYRTutorials
      @HYRTutorials  11 หลายเดือนก่อน

      Thanks buddy 😊

  • @1989peeyush
    @1989peeyush 3 ปีที่แล้ว +1

    Awesome....pls continue like this...

  • @govindgupta8777
    @govindgupta8777 4 ปีที่แล้ว +1

    Well explained 👍

  • @monalisabarik9795
    @monalisabarik9795 3 ปีที่แล้ว +1

    Super like for this video👍

  • @letcode
    @letcode 4 ปีที่แล้ว +2

    Nice bro 👌

  • @madhurijasti2487
    @madhurijasti2487 3 ปีที่แล้ว +1

    thank you. it really help us
    i prefer xpath over css selector

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      yeah, it is very much easy while writing and reading

    • @madhurijasti2487
      @madhurijasti2487 3 ปีที่แล้ว

      @@HYRTutorials sir upload videos on web table,calender

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Soon i will

  • @rizwanaka6014
    @rizwanaka6014 3 ปีที่แล้ว +1

    This was very helpful.. thank you..
    In the xpath and css selector comparison table towards the end of the video, u have used ends-with function in xpath... Is ends-with function really available? Only starts-with function is possible right?

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Yes, you are right
      There is a function called ends-with in xpath version 2. but usually browsers are not supporting that version.
      All the browsers support xpath version 1 only.
      So that means we cant use this function until browsers are updated with latest xpath version

    • @rizwanaka6014
      @rizwanaka6014 3 ปีที่แล้ว +1

      @@HYRTutorials Thanks for the reply.. so will xpath 2.0 work in code? I understand it cannot be used in the browser. How can we use xpath 2.0?

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว +1

      no it wont work in code, that means we cant use it either.
      I have just mentioned it to show the equivalent counter part of css selector.
      But u can just ignore that.

  • @factsofallahal-shaheedserv7816
    @factsofallahal-shaheedserv7816 2 ปีที่แล้ว

    👍

  • @markdillon9588
    @markdillon9588 3 ปีที่แล้ว +1

    I find this interesting, Edureka always say css selector is quicker than xpath but this shows the opposite

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว +2

      Yes Mark.
      This also depends on how difficult our xpath or css selector is.

    • @markdillon9588
      @markdillon9588 3 ปีที่แล้ว +1

      @@HYRTutorials ah I understand thank you 😁

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว +1

      Please try with different combinations of xpath and css selector then share your findings here @Mark.
      It might help others also in understanding this difference.

    • @markdillon9588
      @markdillon9588 3 ปีที่แล้ว +1

      @@HYRTutorials will do cheers :)

  • @007mohon
    @007mohon 3 ปีที่แล้ว +1

    Nice one.. Could you please share Excel comparison file? TIA

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว +1

      Here is the link:
      drive.google.com/file/d/1b_hGMe8UPgwIuXzWSA5E4rRgLNgyVL_c/view?usp=sharing

    • @007mohon
      @007mohon 3 ปีที่แล้ว

      @@HYRTutorials Thank you so much..
      Could you also please send me all the Selenium Tutorial pptx files?

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      @@007mohon those I didn't save it actually.
      Bcz most of my ppt will be maximum of two pages only.

    • @007mohon
      @007mohon 3 ปีที่แล้ว +1

      @@HYRTutorials okay, I got your point..
      Thanks for your reply ...

  • @user-ow9bx2tj9i
    @user-ow9bx2tj9i 5 หลายเดือนก่อน

    Will use Xpath only