What is the meaning of WebDriver driver = new ChromeDriver() in Selenium WebDriver?

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

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

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

    Superb! Hardly other instructors give importance to this statement.

  • @rakshagupta5246
    @rakshagupta5246 3 года назад +6

    very helpful video for selenium interview. thanks sir for this video

  • @AutomationExpert-2190
    @AutomationExpert-2190 2 месяца назад

    superb sir .. no one till date explained like this

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

    Thanks you sooooo much Sir great explanation everyone saying same thing but the way you explained it's just superb thanks again

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

    Good Explanation of the statement. Easy to understand. Thanks for the Video

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

    Excellent explanation

  • @C.Sakthivignesh
    @C.Sakthivignesh Год назад +2

    Thank you so much sir for made this video.

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

    Best explanation ever 🙏

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

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

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

    Very clear explanation. Thanks a lot.

  • @manimanjeera4470
    @manimanjeera4470 5 месяцев назад

    Thank you for the detailed explanation

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

    great explanation bro please try to make more interview faqs on selenium

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

    Excellent explanation ! Thanks.

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

    good explanation

  • @anusham1177
    @anusham1177 7 месяцев назад

    It is so clear and detailed

  • @prasannamahale1854
    @prasannamahale1854 4 года назад +1

    Much needed concept
    Tq for making videos..

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

    nice explanation

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

    Thanks for the clear information sir.

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

    Thank you so much

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

    Very useful information in interview

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

      Thanks for liking

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

      @@HYRTutorials can u create java interview questions for selenium like this

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

      Yeah i will try to create bro. But i would suggest you to have full knowledge on core java rather than looking for interview questions.
      One can become a good automation tester only when he/she has a very good understanding on the programming language.

  • @pragatichafle-c4i
    @pragatichafle-c4i Год назад +1

    Sir import statement is coming for webdriver or Chromedriver but not for both how can I fix these

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

    next question was- we cant create an object of interface right? then how webdriver interface is creating the obj?
    how to answer this?please reply!

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

      We can't create an object of interface but here we are not creating the object of interface buddy.
      We create any object by invoking the constructor and here we are invoking the chrome driver constructor not the webdriver constructor.
      Which means we are creating the object of chrome driver class only and not t the webdriver interface.
      We have mentioned the variable type as webdriver here.
      You can simply say like this
      We are not creating the object of interface but we are creating a reference here

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

      @@HYRTutorials
      u meant we are invoking the chromedriver constructor through driver as a reference and webdriver as variable right?
      so driver has all the properties of chromedriver like whatever method we call like findElement .close() etc.
      then what is the need of to write webdriver there?
      he traped me in this question very badly ...and i m still unable to undrstand this thing.

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

      @@naaz7847 to understand this very clearly, learn about the interfaces and classes in java buddy

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

      @@HYRTutorials tell me the answer

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

    ChromeDriver driver= new ChromeDriver();
    WebDriver driver= new ChromeDriver();.
    Both will work right ?
    What is the defence then bro... I am not getting that logic
    Please anna answer kavali

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

      Video motham chusava buddy?
      Video chusaka neeku em ardam indo okasari cheppu buddy

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

      @@HYRTutorials as per my knowledge in 2nd statement driver object has access to methods in ChromeDriver Class which are there in WebDriver Interface
      First statment can access all methods in ChromeDriver class

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

      Webdriver is an interface and by default it have abstract methods and we cant create constructor of a interface directly, for that we need implementation class and in this case Chromedriver is an implementation class which will pass the arguments at the time of execution of program.
      And here we are doing upcasting which is part of typecasting.

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

    hi ,what is the instance you mentioned while explaining the ChromeDriver instance?

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

    Can we use RemoteDriver in the place of webdriver

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

      Yes we can use it without any doubt.

  • @HafizurRahman-dr3xe
    @HafizurRahman-dr3xe 3 года назад +1

    I see your video brother and is very nice , thanks a lot

  • @dipto624
    @dipto624 4 года назад +1

    very well explained. tnx

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

    Really really great 😊

  • @sivakrishnapotla6234
    @sivakrishnapotla6234 4 года назад +1

    Nice explanation..

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

    Pls upload more videos on interview questions

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

    Hello sir, we can also write ChromeDriver driver =new ChromeaDriver(); also right?

  • @guruishu7766
    @guruishu7766 4 года назад +1

    Nicely explained

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

    Sir apo ithu upcasting method ilaiya chromedriver oru constructor athanala ithu upcasting methods use object create panalaiya

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

      ungalaku tamil konjem knojhem da teriyum macha. ne yenna solladu enaku purille. english la solunga macha

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

      Sir I asked... Isn't this a upcasting method. Chromedriver is a constructor or not sir

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

      @@bhagyalakshmi5230 yes this is up casting only buddy. As we are casting the class instance to interface reference here

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

    Pls do more information about selenium

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

    is it also called as Typecasting????

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

      This isn't the typecasting buddy.

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

    superb

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

    Thank you sir

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

    awesome!

  • @roshanp.thomas1768
    @roshanp.thomas1768 3 года назад +1

    Sir. What is the difference between implemented and unimplemeted methods?
    Can you show it with an eg.

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

      Unimplemented methods will not have any implementation inside the method.
      Generally we define the method and some code inside that method ryt?
      Eg:
      public void testMethod()
      {
      System.out.println("Implemented method");
      }
      the above one is implemented method and you can see it has some code in it, it might be just a print statement also.
      Unimplemented method means it will not have any implementation in it, means it will not have any code basically.
      Eg:
      public void testMethod();
      Generally we have three types of java files.
      1. Class
      2. Abstract class
      3. Interface
      Out of all these 3 , only class will have fully implemented methods.
      Abstract class will have both.
      Interface will have only un-implemented methods(before java 8), will have default type of implemented methods as well (after java 7)

    • @roshanp.thomas1768
      @roshanp.thomas1768 3 года назад +1

      @@HYRTutorials Thank you Sir.

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

    pls keep addming more

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

    why do we write WebDriver d = new ChromeDriver(); instead of ChromeDriver d = new ChromeDriver(); ??

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

      For that question only this video buddy

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

      @@HYRTutorials sir, why can't we write ChromeDriver d = new Chrome Driver (); ???

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

      Did you watch this video buddy?

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

    Nice 👍

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

    Sir please make a video on explain framework in interview?

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

    Hlo sir manual and auto mati9n test cases mida oka video cheyandi sir

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

    28 february 'I m your youtube student from Kanada 😃

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

    What is BY. ?

  • @AyyAppA_009
    @AyyAppA_009 4 года назад +1

    Perfect...👍

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

    Tnx sir

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

    good content

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

    It's reference variable not a local variable

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

    Tq sir

  • @himanshukhare1992
    @himanshukhare1992 4 года назад +1

    Why not ? WebDriver ChromeDriver = new ChromeDriver();
    or When to use it?

    • @HYRTutorials
      @HYRTutorials  4 года назад +1

      There is another video on why we need to use it like this.
      You can watch that video.

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

    please explain complete manual testing.
    what is manula testing ?
    what is black box testing?
    what is white box testing?
    what is gray box testing?
    what is functional testinng?
    what is non functional testing?
    what is performance testing?
    types of functional testing?
    types non functional testing?
    water fall model
    v model
    SDLC
    STLC

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

      Manual testing meeda no plans buddy

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

    how many test cases you write in a day & how test cases will you execute in a one day
    this question ask in interview
    hoe to answer this question plz explain sir

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

      It depends on project to project and role to role buddy.
      Get in touch with your friends who are working in the same field and get to know the day to day activities

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

    sir please explain script in telugu to register to a particular application

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

      Ardam kaaledu bharathi.
      Em application ni register cheyyali and ekkada cheyyali?

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

      Opencart application,in selinium java

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

      aa application ni automate cheyyali anukuntunnva?

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

      Yes sir

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

      Watch the selenium java playlist and you will be able to automate the application

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

    tq andi☺

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

      welcome buddy

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

      @@HYRTutorials meru java programs ni use chesi videos amayina cheppara a?

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

    Bro mi videos automation classes chaala bagunnaye koncham interview questions and ans ala untaayeo chesi video upload cheyyandi bro so maki interview ki attend aieyyeki chala help autaadi pls bro

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

      Thankyou 😊, Sure bro

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

      @@HYRTutorials tqq for u r responce bro chaala manchipani cgestunnaru ma lanti job searching persons ki tq

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

      @@dudekulachandu4440 thankyou bro 😊
      Hope you will get your job very soon

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

      @@HYRTutorials tqq bro job vachhaka mari miki pakka chopataa

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

    Sir 2years experience Candidates ki salary 12lpa untundha?

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

      It all depends on the candidate performance, talent and profile.
      Yes I have seen people with 12lpa for 2 years.

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

      @@HYRTutorials ok sir thanks

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

    what is WebDriver? The important thing is to know what exactly the use of WebDriver, not Java objective ways.

  • @AnkitSingh-be4wi
    @AnkitSingh-be4wi 4 года назад +1

    Have you created any videos on desired capabilities for browsers?? Btw nice explaination 👍👍

    • @HYRTutorials
      @HYRTutorials  4 года назад +1

      Yes here is the link
      ruclips.net/video/lvIXXilkw60/видео.html
      And another video is on the way, soon will upload it.

    • @AnkitSingh-be4wi
      @AnkitSingh-be4wi 4 года назад +1

      @@HYRTutorials thanks for the quick reply..it was helpful 👍

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

    really going extra mails bro

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

    Testng concepts tulugu lo leva

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

    🥰😍

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

    If we do
    ChromeDriver driver = new Chrome driver ();

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

      It's a valid thing only but we need to understand the difference why we should not write like that

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

    Sir please ans my ques