Selenium Webdriver Hierarchy In Interview | Automation Interview

Поділитися
Вставка
  • Опубліковано 29 лис 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. :-)

  • @gouryraj381
    @gouryraj381 2 роки тому +2

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

  • @kishoresrinivas2104
    @kishoresrinivas2104 6 місяців тому +1

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

  • @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. ua-cam.com/video/O1ZfEyR_iLw/v-deo.html
      Selenium 4 use W3C standard which I will try to cover in upcoming videos.

    • @rkn3383
      @rkn3383 3 роки тому

      @@Mukeshotwani thanks Mukesh

  • @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.

  • @utkarshapagar9571
    @utkarshapagar9571 2 роки тому +1

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

  • @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.

  • @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 🙏

  • @deemethyr
    @deemethyr Рік тому +1

    This video is a life saver , thank you sir!

  • @NareshShewakramani
    @NareshShewakramani 3 роки тому +1

    Nice explanation mukesh bhai.

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому +1

      Thank you so much 😀 Naresh bhai

  • @akilagiritharan2454
    @akilagiritharan2454 3 роки тому +1

    Very nicely captured all the basic steps

  • @jyotirmayeejena3308
    @jyotirmayeejena3308 3 роки тому +1

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

  • @kannegantimadhavi6640
    @kannegantimadhavi6640 3 роки тому +1

    Thank you mukesh this is a very helpful

  • @Easy_learning_QA
    @Easy_learning_QA 3 місяці тому +1

    Thank you so much for explain properly

  • @swarnasharma1117
    @swarnasharma1117 3 роки тому +1

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

  • @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...

  • @sushilk5349
    @sushilk5349 3 роки тому +1

    Thank You So Much Mukeshji.

  • @Dancing-Consultant
    @Dancing-Consultant 3 роки тому +1

    Much needed.Thanks
    Please explain about Github

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому

      Thanks Orinake, working on Git and Github videos.

  • @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
      ua-cam.com/video/_7XJenTvR34/v-deo.html
      ua-cam.com/video/vFXL4nMWvXI/v-deo.html

  • @Rajeshmishra-vn1gc
    @Rajeshmishra-vn1gc 3 роки тому +1

    Best one sir 🙂 thank you 🙂

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому +1

      Thank you Rajesh bhai. Keep learning.

  • @snehaparekh8502
    @snehaparekh8502 3 роки тому +1

    Thats very detailed and knowledgeable, thank you 😊

  • @mikemihay
    @mikemihay 3 роки тому +1

    Thank you! Great video!

  • @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

  • @abhijitpawar9216
    @abhijitpawar9216 3 роки тому +1

    God bless you brother

  • @MDHOSSAIN-gj5ve
    @MDHOSSAIN-gj5ve 3 роки тому +1

    Excellent video

  • @gazi3041
    @gazi3041 5 місяців тому +1

    Can we use ChromeDriver as generic in ThreadLocal ?

    • @gazi3041
      @gazi3041 5 місяців тому

      I am trying on this

    • @Mukeshotwani
      @Mukeshotwani  5 місяців тому +1

      Yes only when u need Chrome

  • @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

  • @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

  • @prateekjain2473
    @prateekjain2473 3 роки тому

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

    • @Mukeshotwani
      @Mukeshotwani  2 роки тому

      Thank you so much 😀 Prateek bhai

  • @SongsSaregama
    @SongsSaregama 3 роки тому +1

    very very usefull! Thanks

  • @abhilashadeshpande7996
    @abhilashadeshpande7996 2 роки тому +1

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

  • @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 ua-cam.com/video/6Er5pIEiscI/v-deo.html

  • @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.

  • @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.

  • @manishkannamoney7455
    @manishkannamoney7455 Рік тому

    Thanks BrO! ALL THE BEST

  • @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

  • @gurrapupremchand3958
    @gurrapupremchand3958 Рік тому

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

  • @java_test_automation_spring
    @java_test_automation_spring 2 роки тому +1

    Bro is amazing.

  • @gouthamukkaji5493
    @gouthamukkaji5493 3 роки тому +1

    Can you please also explain TestNG framework ?

    • @Mukeshotwani
      @Mukeshotwani  2 роки тому

      ua-cam.com/video/OTtFSnZY4f8/v-deo.html

  • @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.

  • @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.

  • @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

  • @nomadDanish
    @nomadDanish 3 роки тому +1

    🔥

  • @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

  • @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.

  • @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?