What is the difference between findElement and findElements in Selenium WebDriver?

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ค. 2024
  • In this video, I have explained about "What is the difference between findElement and findElements in Selenium WebDriver".
    Video Timeline:
    00:00 Introduction
    00:51 Differences
    05:39 Interview Question & Answer
    ⭐⭐ FindElement:
    Find the first WebElement using the given method. This method is affected by the 'implicit wait' times in force at the time of execution. The findElement(..) invocation will return a matching row, or try again repeatedly until the configured timeout is reached.findElement should not be used to look for non-present elements, use findElements(By)and assert zero-length response instead.
    ⭐⭐ FindElements:
    Find all elements within the current page using the given mechanism. This method is affected by the 'implicit wait' times in force at the time of execution. When implicitly waiting, this method will return as soon as there are more than 0 items in the found collection or will return an empty list if the timeout is reached.
    Below is the website link I have used for showing examples:
    www.hyrtutorials.com/p/add-pa...
    You can find the program at my GitHub repository: 👇
    bit.ly/3uwXRiV
    ==============================================
    ↔️ Selenium Interview Questions Playlist Link: bit.ly/3matUB3
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc
    👑 Join my TH-cam channel to get access to perks:👇
    / @hyrtutorials
    ==============================================
    ==============================================
    Connect us @
    🔗 Website - www.hyrtutorials.com
    🔗 Telegram - t.me/hyrtutorials
    🔗 Facebook - / hyrtutorials
    🔗 LinkedIn - / hyrtutorials
    🔗 Twitter - / hyrtutorials
    🔗 Instagram - / hyrtutorials
    ==============================================
    ==============================================
    🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
    #hyrtutorials #selenium #interviewQuestions #webAutomation
    Selenium Interview Questions By Yadagiri Reddy
    h y r tutorials hyr tutorials selenium interview questions and answers selenium tutorial for beginners selenium java selenium interview questions and answers selenium tutorial for beginners selenium java
    selenium selenium java selenium tutorial for beginners automation testing selenium webdriver

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

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

    📌 Selenium Interview Questions Playlist Link: bit.ly/3matUB3
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

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

    Happy to see you back...🔥

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

      Thank you, will post continuously from now on

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

    Thanks for the new video almost all interviewers will ask this question thanks for the nice explanation Mr. Reddy

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

      Thankyou 😊 Mounika, keep watching

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

    Happy to see your videos after long gap...please continue posting your videos on Java for beginners

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

    Thank you so much bro

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

    your videos are just the best!!!! clear and simple and core explanation with example of codes!!! Thank you so much!!! I just signed up for extra premium videos but too bad.. it's not in English..

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

      Thanks buddy 😊
      Yeah the premium videos are currently available in Telugu language only.
      You can cancel the membership immediately buddy.
      I think TH-cam will not charge you if we do it in a day or so

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

    After long seeing your video...Thanks Yadagiri

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

      So nice of you, yeah its been many days

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

    excellent explanation. Instant sub.

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

    Glad to see you back👍. Please start selenium framework from scratch

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

    Sri what is meaning webelement and when we use it

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

      WebElement is an interface buddy.
      It provides the methods for performing the operations on any element

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

    Anna atleast future lo aina api testing videos cheyandi ann requesting you anna please

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

    Anna small request i am attending for the interviews companies ekuvga api testing vasthe join chesukuntam antunaru anna. please do videos on api testing requesting anna because I can't afford money for the coaching anna please do videos on api testing anna please. Nenu mi lectures chala varaku Naku ui testing lo vunna doubts Anni clear ayayi anna

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

      API testng meeda nenu videos chesesariki atleast 6months avvuddi buddy.
      I'm working on other videos currently. So try to purchase the course from udemy or watch any youtube videos buddy.

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

      @@HYRTutorials anna please atleast weekly one or 2 videos cheyandi anna please request anna

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

      Currently i'm making weekly three videos in telugu channel and also making videos on extent reports in this channel buddy. so thats why i cant take any new course currently buddy

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

    Can I have your email id please. Can you please share this PPT which you are referring to

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

      I don't think I still have the PPT buddy.
      You can take screenshot while watching the video.
      Here is my mail id: hyadagirireddytutorials@gmail.com