What is the difference between driver.get() and driver.navigate().to() in Selenium WebDriver?

  Рет қаралды 15,941

H Y R Tutorials

H Y R Tutorials

Күн бұрын

Пікірлер: 77
@HYRTutorials
@HYRTutorials 3 жыл бұрын
📌 Selenium Interview Questions Playlist Link: bit.ly/3matUB3 ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@navathutejomai1038
@navathutejomai1038 2 жыл бұрын
I always used to follow what I have read, but today I saw you who makes his own validation and follow, you are a gem of person Sir
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy
@SinghAmitKumar-bf9nr
@SinghAmitKumar-bf9nr 2 жыл бұрын
Great Explanation I must Say... Most of the people gave wrong answers as most the places it is written wrong, If they have not seen your Explanation. Thanks for sharing the video. Great Thanks
@HYRTutorials
@HYRTutorials 2 жыл бұрын
That's why I have shown in the code also buddy So that while answering in the interview, you can be very confident
@prasannamahale1854
@prasannamahale1854 3 жыл бұрын
Really worth watching each and every video Very useful...🙏
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Thanks a lot
@Johnny-pt5jb
@Johnny-pt5jb 3 жыл бұрын
The best and simplest explanation I have seen so far. Is this also a myth? "Single-Page Applications are an exception to this. The difference between these two methods comes not from their behavior, but from the behavior in the way the application works and how the browser deals with it. navigate().to() navigates to the page by changing the URL like doing forward/backward navigation. Whereas, get() refreshes the page to change the URL."
@HYRTutorials
@HYRTutorials 3 жыл бұрын
As you said it is a myth only. In the video I have shown at the code level also ryt. There is no difference between both of these methods in the functionality.
@jyothireddykonduru
@jyothireddykonduru 3 жыл бұрын
Very unique explanation difference. GREAT MIND!! HYR :)
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Thankyou 😊
@prathameshausekar
@prathameshausekar 4 ай бұрын
Thats the correct way to reach truth, thanks for sharing!
@tapaskhandai
@tapaskhandai 2 жыл бұрын
Wow Man. Please create more and more videos. Will follow every video of yours. Thank You so much.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thanks buddy 😊
@priyadarshiniMG
@priyadarshiniMG 6 ай бұрын
Wonderful explanation👌👌👏👏thank you so much👍👍
@wilmergonzales2139
@wilmergonzales2139 3 жыл бұрын
Excelente aporte. Gracias
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Encantado de que te haya gustado
@nagasaimaddula56
@nagasaimaddula56 8 ай бұрын
Very useful information bro. Got full clarity.
@srilekha009
@srilekha009 2 жыл бұрын
Thank you so much for providing this information sir🙏
@HYRTutorials
@HYRTutorials 2 жыл бұрын
It's my pleasure buddy
@GrafMKristo
@GrafMKristo 2 жыл бұрын
I feel like I've just watched some cool detective movie with suspense and release! =)) You're a real pro!
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Haha thankyou buddy
@jawwad4020
@jawwad4020 2 жыл бұрын
Thanks for sharing your wisdom sir! Now I know not to trust random internet sources ❤️
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thanks buddy 😊 Unless we see the proof, we shouldn't believe the internet stuff buddy
@prasadpatil289
@prasadpatil289 2 жыл бұрын
Thanks for providing such a deep insight
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Glad it was helpful!
@surabhikaur4274
@surabhikaur4274 2 жыл бұрын
Nice explanation. Please prepare more videos on selenium interview questions.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy
@neverStopLearning3
@neverStopLearning3 2 жыл бұрын
Great useful videos!! thanks
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Glad it was helpful!
@juhisehgal6455
@juhisehgal6455 2 жыл бұрын
Bro you are killing it😎
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@navathutejomai1038
@navathutejomai1038 2 жыл бұрын
Can you continue this series it is very helpful
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Yeah i have to continue. planned some more videos like this but not getting enough time to make them
@NeverStopLearning56
@NeverStopLearning56 2 жыл бұрын
Please make a Vedio explaining the architecture of Selenium 3 & selenium 4 practically, this is mostly asked question across everywhere
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Sure buddy
@yaswanthtirupathi6551
@yaswanthtirupathi6551 2 жыл бұрын
Thank you so much bro😊,.Please make some more videos on interview questions bro🙏🙏,.this will be very helpful to many people👏
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Sure buddy
@SinghAmitKumar-bf9nr
@SinghAmitKumar-bf9nr 2 жыл бұрын
I will surely follow you.. :)
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thanks buddy 😊
@shivu2012
@shivu2012 Жыл бұрын
Awesome man!
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy
@ParaDox-uv6hu
@ParaDox-uv6hu Жыл бұрын
Thank you sir
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@crazycuber1107
@crazycuber1107 2 жыл бұрын
Really smart
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@madhurikandulabn8869
@madhurikandulabn8869 2 жыл бұрын
Such a great job
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@meghanajugunta7948
@meghanajugunta7948 Жыл бұрын
ur the best...lob lob
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@NeverStopLearning56
@NeverStopLearning56 Жыл бұрын
Hello sir, Correct me if i am wrong , Here, When you are referring to stack overflow website and Tutorials point website, We can see they have given the differences between driver.get() and driver.navigate() And not driver.get() and driver.navigate.to() Please check once....
@HYRTutorials
@HYRTutorials Жыл бұрын
There is no driver.navigate method directly in selenium buddy. We tend to say it like driver.get and driver.navigate . It's like asking how you doing instead of how are you doing.
@Kidvideos1997
@Kidvideos1997 Жыл бұрын
I watch this video and tried myself u were right..yesterday i got this question in interview...I told no difference only it will accept string and url to my interviewer this misconceptions fast and all not there and she opened a chrome browser and showed a website ..."see here which one is fast " ...😂 I ask her to check implemention she said ok i will accept and said why they gave navigate seperately then simply ? I was blank 😁 ....what would i have said at time any suggestions from you...
@shreyanshsingh2782
@shreyanshsingh2782 2 жыл бұрын
sir how to give url instance as parameter please tell example?
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Create the URL instance buddy. URL is one class in java. And pass that to this method
@roshanp.thomas1768
@roshanp.thomas1768 3 жыл бұрын
Hi what is difference between an attribute and property in webelement..can you please tell with example.
@HYRTutorials
@HYRTutorials 3 жыл бұрын
There is no difference actually. It's just the way how we call it. Some say webelement properties and some say attributes.
@roshanp.thomas1768
@roshanp.thomas1768 3 жыл бұрын
@@HYRTutorials Ok.once the web elements are parsed then attributes is considered as properties..is it so...
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Yeah kind of u can say. In HTML terminology, we call them attributes. In programming language, everything is an object and an object will have the properties right. So once we find the element in our program, we refer them as properties because the entire element becomes our object.
@gurumurthy757
@gurumurthy757 3 жыл бұрын
Is driver .get and navigate is example of override?
@HYRTutorials
@HYRTutorials 3 жыл бұрын
No it is not a concept of overriding. But you can consider it as reusability of code.
@chayae3740
@chayae3740 7 ай бұрын
Are you providing online classes?
@itspratik
@itspratik 2 жыл бұрын
when i click f3 its showing source not found
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Are you using normal java project?
@itspratik
@itspratik 2 жыл бұрын
@@HYRTutorials yes
@Shubham-fk4is
@Shubham-fk4is 2 жыл бұрын
Can you please tell me, How can I prepare for the interview if the internet shows myths as answers? Please Reply?
@HYRTutorials
@HYRTutorials 2 жыл бұрын
By learning the subject thoroughly buddy. Don't just go by the internet answers. Verify that in your code and understand how is it working and all.
@Shubham-fk4is
@Shubham-fk4is 2 жыл бұрын
@@HYRTutorials Ok Thanks
@sainathvallampatla5135
@sainathvallampatla5135 3 жыл бұрын
Thank you
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Glad to hear
@shaikshashaikshaiksha4441
@shaikshashaikshaiksha4441 2 жыл бұрын
Topic is clear but go slow then it will be understand easily
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊 I will try to go slow
@chayae3740
@chayae3740 3 жыл бұрын
What is cookies
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Cookie is kind of a datatype which store some information like personal information or session id or authentication key etc.. in browser.
@chayae3740
@chayae3740 3 жыл бұрын
@@HYRTutorials tqu sir
@HYRTutorials
@HYRTutorials 3 жыл бұрын
@@chayae3740 welcome
@mohanramakrishnakonijety9405
@mohanramakrishnakonijety9405 6 ай бұрын
Thank you
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Two Methods For Compass Navigating Around Objects
42:11
ReallyBigMonkey1
Рет қаралды 38 М.
Selenium Webdriver Hierarchy In Interview | Automation Interview
17:26
Mystery of StaleElementReferenceException in Selenium WebDriver
18:10
Naveen AutomationLabs
Рет қаралды 51 М.
How to Handle Frames in Selenium WebDriver
21:20
H Y R Tutorials
Рет қаралды 63 М.
What is HTML DOM & StaleElement Exception in Selenium
36:04
Naveen AutomationLabs
Рет қаралды 82 М.
What is SRE | Tasks and Responsibilities of an SRE | SRE vs DevOps
24:25
TechWorld with Nana
Рет қаралды 344 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН