Selenium Webdriver Hierarchy In Interview | Automation Interview

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 119

  • @ddd222444
    @ddd222444 2 года назад +3

    Best instructor ever with in depth knowledge, we are lucky to have you with us.
    Thanks mukesh for your efforts

  • @sandipkankate6821
    @sandipkankate6821 2 года назад +4

    Sir, hats off to U ...Indepth explanation of Selenium WebDriver Hierarchy ... I never ever seen before....

  • @ashteshdiwakar276
    @ashteshdiwakar276 3 года назад +4

    Thanks Mukesh.
    You are doing a great job by providing so much informative content.
    Really loved the explaination.
    Thanks a lot.

  • @MadirajuKChaitanya
    @MadirajuKChaitanya 3 года назад +3

    Thank You, Mukesh Ji, for sharing this information with us.

  • @venumadhav9311
    @venumadhav9311 3 года назад +2

    Always I wanted to see these internal details to get clarity. Thanks for showing the source code too. :-)

  • @rkn3383
    @rkn3383 3 года назад +3

    Thanks for the selenium hierarchy insights. Please throw some light on How selenium automation actually works with browsers.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hey RK I have video on this too. ruclips.net/video/O1ZfEyR_iLw/видео.html
      Selenium 4 use W3C standard which I will try to cover in upcoming videos.

    • @rkn3383
      @rkn3383 3 года назад

      @@Mukeshotwani thanks Mukesh

  • @kishoresrinivas2104
    @kishoresrinivas2104 5 месяцев назад +1

    This video overrides all my doubts thank you very much sir 🙏

  • @gouryraj381
    @gouryraj381 2 года назад +2

    Mukesh sir thank you so much ,i was not knowing about this selenium hierarchy ..it was so easy explanation. 🙏

  • @rkrk5378
    @rkrk5378 2 года назад +3

    This guy is better than naveen,, he explains everything in a much better way then him whereas naveen looks confused to me (which happens when u don't have in depth knowledge of the topic u explaining)

    • @Mukeshotwani
      @Mukeshotwani  2 года назад +1

      Thank you Rk 😍 It means alot to me.

    • @rkrk5378
      @rkrk5378 2 года назад

      @@Mukeshotwani Thank You Sir 🙏

  • @mohitgupta7145
    @mohitgupta7145 3 года назад +1

    Hi Mukesh, Webdriver is an Interface and Search Context is also an interface however in code it mentions Webdriver extends Search Context instead of implements Search Context both being an interface.. The second question is ChromeDriver driver = new ChromeDriver() is more beneficial to use than WebDriver driver = new ChromeDriver() but the later is in good practice..

    • @NareshShewakramani
      @NareshShewakramani 3 года назад +1

      You will miss runtime polymirpysn advantage if you use chrome driver instead of Webdriver. Also one interface can extend another interphase if both are created by different people or vendor.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Mohit, agree with Naresh + when you work with cross browser in that case you need WebDriver reference which can be used for all browsers.

  • @renupatil8237
    @renupatil8237 3 года назад +3

    Great explanation.... Nice and useful videos..... 👌........ But the picture frame behind feels like why this picture without any art 😝😝

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Thank you Renu ... 😍 I miss this frame in current videos.

  • @akilagiritharan2454
    @akilagiritharan2454 3 года назад +1

    Very nicely captured all the basic steps

  • @deemethyr
    @deemethyr Год назад +1

    This video is a life saver , thank you sir!

  • @swarnasharma1117
    @swarnasharma1117 3 года назад +1

    Thanks for this video.. and congratulations for 100k subscribers .. cheers :)

  • @utkarshapagar9571
    @utkarshapagar9571 2 года назад +1

    Sir it's Just superb... no words👍...thanku soooo much 👍🙏

  • @jyotirmayeejena3308
    @jyotirmayeejena3308 3 года назад +1

    Thank you Mukesh,Nice Video..It's very useful ...

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Glad you liked it Thank you Jyoti

  • @ankurchaudhary1906
    @ankurchaudhary1906 3 года назад +1

    Thank you Very helpful video...please make a video on hybrid framework and data driven framework in details

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hi Ankur, I already have videos on my channel. Here are the links
      ruclips.net/video/_7XJenTvR34/видео.html
      ruclips.net/video/vFXL4nMWvXI/видео.html

  • @NareshShewakramani
    @NareshShewakramani 3 года назад +1

    Nice explanation mukesh bhai.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Thank you so much 😀 Naresh bhai

  • @RanjitSingh-wp2sn
    @RanjitSingh-wp2sn 3 года назад +1

    Interesting video.... Can you tell me if this can be used... I have not used selenium grid so I dont know if this is even a valid question or not...
    Can we use
    RemoteWebDriver driver = new ChromeDriver();
    If we can use then what is the benefit of using this?
    Thanks in advance

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Ranjit, its valid question.
      Yes You will get extra method of RemoteWebDriver class too which you can use.

    • @RanjitSingh-wp2sn
      @RanjitSingh-wp2sn 3 года назад +1

      @@Mukeshotwani Thanks for your reply.... so then I think I will not get methods of Chromium and ChromeDriver classes as you've told in the video....
      Thanks. Its nice to be informative about the new version of Selenium

  • @kannegantimadhavi6640
    @kannegantimadhavi6640 3 года назад +1

    Thank you mukesh this is a very helpful

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Happy to help. Thank you Madhavi

  • @Easy_learning_QA
    @Easy_learning_QA 3 месяца назад +1

    Thank you so much for explain properly

  • @ashishkumarmishra2346
    @ashishkumarmishra2346 2 года назад

    Hi Mukesh, Thank you for the explanation. I am looking for a video where you have explained about TestNg Annotations like @BeforeSuite, @BeforeTest, @Before Class Etc. Their execution priority. Can you please share the link I am not able to find it? Thanks

  • @pandudamera7211
    @pandudamera7211 3 года назад +2

    Thank you sharing sir. Please explain us selenium 4.0 sir

  • @girishnair546
    @girishnair546 3 года назад +1

    Keep making these amazing content ✌ you are almost close to 100k...

  • @prateekjain2473
    @prateekjain2473 3 года назад

    Thank you this wonderful explaination....congratulations for 100k subcriptions 🎊🎉

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Thank you so much 😀 Prateek bhai

  • @MrSayandeep
    @MrSayandeep 3 года назад +1

    Much needed.Thanks
    Please explain about Github

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Thanks Orinake, working on Git and Github videos.

  • @nikhilkanojia1683
    @nikhilkanojia1683 3 года назад +2

    Hey Mukesh, thanks for the video, small doubt here:
    We generally write
    WebDriver driver = new ChromeDriver()
    rather than,
    ChromeDriver driver = new ChromeDriver()
    Though with the second statement, we can access all methods till SearchContext.. Is this because we want to keep the concept of Abstraction intact... Please clarify.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Yes, correct but we just need WebDriver methods will is common to all browser.

    • @mauryar16
      @mauryar16 3 года назад +1

      @@Mukeshotwani Can we write RemoteWebDriver rwd = new ChromeDriver();
      Or
      RemoteWebDriver rwd = new FirefoxDriver();
      Always, instead of WebDriver driver = new ChomeDriver();
      Bcz all methods that are in RemoteWebDriver, also common for All browsers
      Is there will be any drawback by using RemoteWebDriver reference variable always , internally????
      Plz explain

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      yes you can write that too , in that case you will get all methods of Remote Webdriver too.

    • @mauryar16
      @mauryar16 3 года назад +1

      @@Mukeshotwani thank a lot for quick response

  • @abhilashadeshpande7996
    @abhilashadeshpande7996 2 года назад +1

    Thank you mukesh sir.. i have one question, can u pls tell me the abstract class present in selenium library..??

  • @sushilk5349
    @sushilk5349 3 года назад +1

    Thank You So Much Mukeshji.

  • @shobhit_mishra
    @shobhit_mishra 3 года назад +1

    Hey Mukesh ,
    Thanks for this video, I am working on selenium from last one year but everytime I forgot the java concepts though I tried to learn Java several times.
    Can you provide your advice or suggestions that will be of much help.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hi Shobhit, this happens with me too if I dont code for 6 months. Suggestion would be that you need to work on projects or some personal projects where you will be using the Java concepts.

  • @abhijitpawar9216
    @abhijitpawar9216 3 года назад +1

    God bless you brother

  • @MDHOSSAIN-gj5ve
    @MDHOSSAIN-gj5ve 3 года назад +1

    Excellent video

  • @Rajeshmishra-vn1gc
    @Rajeshmishra-vn1gc 3 года назад +1

    Best one sir 🙂 thank you 🙂

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Thank you Rajesh bhai. Keep learning.

  • @gazi3041
    @gazi3041 4 месяца назад +1

    Can we use ChromeDriver as generic in ThreadLocal ?

    • @gazi3041
      @gazi3041 4 месяца назад

      I am trying on this

    • @Mukeshotwani
      @Mukeshotwani  4 месяца назад +1

      Yes only when u need Chrome

  • @mikemihay
    @mikemihay 3 года назад +1

    Thank you! Great video!

  • @gouthamukkaji5493
    @gouthamukkaji5493 3 года назад +1

    Can you please also explain TestNG framework ?

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      ruclips.net/video/OTtFSnZY4f8/видео.html

  • @gurrapupremchand3958
    @gurrapupremchand3958 Год назад

    can you explain about the webdriver wait class can we use it with remotewebdriver instead of webdriver

  • @snehaparekh8502
    @snehaparekh8502 3 года назад +1

    Thats very detailed and knowledgeable, thank you 😊

  • @wasimakram-nz5gq
    @wasimakram-nz5gq 3 года назад +1

    Hi Mukesh
    Can u please share the video link where u have explain the concept behind
    WebDriver driver = new ChromeDriver();
    I have not found that video ..
    Can u please share the link of that video it will very helpful for me
    Thanks

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Wasim, here is the link ruclips.net/video/6Er5pIEiscI/видео.html

  • @samarthjain5170
    @samarthjain5170 3 года назад +1

    Hi Mukesh,
    1>why, chrome driver is extending chromium driver why it cant directly access remotewwebdriver.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Thats how the implementation is done in Selenium 4. Selenium 3 was extending direct RemoteWebDriver.

  • @SongsSaregama
    @SongsSaregama 3 года назад +1

    very very usefull! Thanks

  • @kumarrdy5420
    @kumarrdy5420 3 года назад +1

    Waiting to see 1lakh subscribers

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Thanks buddy, me too waiting badly.

    • @kumarrdy5420
      @kumarrdy5420 3 года назад

      @@Mukeshotwani Will make it soon and celebrate Mukesh

    • @kumarrdy5420
      @kumarrdy5420 3 года назад

      @@Mukeshotwani Hope will make it happened by this weekend :)

    • @kumarrdy5420
      @kumarrdy5420 3 года назад

      Hey Mukesh, Finally we made it. Congratulations

  • @girishbv6713
    @girishbv6713 Месяц назад +1

    In Video , Add your Video Section in less crop mode , 'coz its occupying most of the Content

    • @Mukeshotwani
      @Mukeshotwani  Месяц назад

      Thank you girish for feedback, I will keep in mind for upcoming videos.

  • @manishkannamoney7455
    @manishkannamoney7455 Год назад

    Thanks BrO! ALL THE BEST

  • @java_test_automation_spring
    @java_test_automation_spring Год назад +1

    Bro is amazing.

  • @rizwan3564
    @rizwan3564 3 года назад +1

    How can we explain for python.. world be great if you can take up python selenium in a separate video. Thanks.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Great suggestion! Rizwan will try for python too.

  • @VikasMishraSDET
    @VikasMishraSDET 3 года назад +1

    Thanks Sir..

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Most welcome Vikas

    • @VikasMishraSDET
      @VikasMishraSDET 3 года назад

      @@Mukeshotwani
      Sir i want a suggestion, I hope u will reply.
      I am BCA Graduated 2018. I have worked 2 years in non IT background (BPO).
      Now i have joined an internship for manual testing.
      I have also basic knowledge of selenium and core java..
      I don't know what i have to do in my career how i became an automation engineer..I don't know after internship i will be permanent over there or not.
      Plz guide me what i have to do side by side with my internship

  • @suryakantpratik
    @suryakantpratik 3 года назад

    Hi Mukesh,
    At 4.16 you said if we are writing WebDriver driver = new ChromeDriver(); then we can only access webdriver merthods and its parent interface methods. i get bit confused here. I wrote below sample code to understand the statement
    interface SearchCotext{
    public int mul(int a, int b);
    }
    class WebDriver implements SearchCotext{
    public int mul(int a, int b){
    return a*b;
    }
    }
    class ChromeDriver extends WebDriver{
    public int mul(int a, int b){
    return a*a*b;
    }
    }
    public class Test {
    public static void main(String args[]) {
    WebDriver driver = new ChromeDriver();
    // ChromeDriver driver = new ChromeDriver();
    System.out.println(driver.mul(2,3));
    }
    }
    o/p is 12. According to your statement output should be 6 as it can only access webdriver methods. Please clarify my doubt if am doing anything wrong here...

    • @kombophoto
      @kombophoto 3 года назад +1

      Since he hasnt replied to you.
      WebDriver is an Interface and cannot have implementations.
      Hence, your mul will execute based on implementation inside ChromeDriver class

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Thanks Komroni

  • @ananyachatterjee3393
    @ananyachatterjee3393 3 года назад +1

    Hey Mukesh what version of Java can we install if we want to learn Selenium?

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Ananya you can use any version but Selenium is mostly compatible with Java 8.

    • @ananyachatterjee3393
      @ananyachatterjee3393 3 года назад +1

      @@Mukeshotwani Thanks Mukesh. Aapse ek request hai.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Han ji Bikhul boliye

    • @ananyachatterjee3393
      @ananyachatterjee3393 3 года назад

      @@Mukeshotwani Thank you so much Mukesh for your reply. Mera yeh request hai ki testers ke liye alternative career options kya hai jo semi-technical ho in nature. Actually females ko kaafi baar career break lena padta hai and restarting mushkil ho jata hai. Plz HR ya waise kuch suggest mat kijiye ga. And with age experience to gain hota lekin har samay technically updated rehna possit nahi hota. To kya kya options ho sakti hai?. Actually yeh baatein koi discuss nahi karta. Aapka and Naveen ji ka video maine dekha tha. Aap log bohot ache lage lagte hain mujhe. Plz agar ek video banai. I am sure bohot logon ke maan mein yeh question hoga.

  • @nomadDanish
    @nomadDanish 3 года назад +1

    🔥

  • @lfe360-sagarsvlogs3
    @lfe360-sagarsvlogs3 3 года назад +1

    Need this in python

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      sure will try.

    • @lfe360-sagarsvlogs3
      @lfe360-sagarsvlogs3 3 года назад

      @@Mukeshotwani thanks a lot, waiting for it, subscribed and pressed 🔔 icon to receive notification.

  • @autonagari9345
    @autonagari9345 3 года назад +1

    I am confuse but when heard ur video all vanishes

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Such a nice compliment Thanks mate

  • @syedarmaghanhassan4652
    @syedarmaghanhassan4652 Год назад

    It is too advanced. Can you please simplify it, and take us step-by-step?