What is the difference between driver.navigate and driver.get in selenium.

52 views
Skip to first unread message

ritika ritu

unread,
Oct 17, 2014, 2:08:09 AM10/17/14
to seleniu...@googlegroups.com
What is the difference between driver.navigate and driver.get in selenium

Harsh Ma

unread,
Oct 17, 2014, 2:26:29 AM10/17/14
to seleniu...@googlegroups.com
Hello,

First of all easily available awser in google for sure if tried around .

Still answer is:
        driver.navigate().forward();
        driver.navigate().back();
You have the ability to go back / forward and do more actions which get() cannot do



Thanks
Harsh

CH!NN@ K

unread,
Oct 17, 2014, 3:30:00 AM10/17/14
to seleniu...@googlegroups.com
Hello ritiika,


Please refer this script.... you will get idea 
http://techlearn.in/content/forword-backword-refresh

---
Thanks & Regards,
Purushotham Karimbedu,
Web Developer and QA Engineer,
Personal Website : http://techlearn.in
Phone no :9000109120.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f8a68e8b-86e0-4d17-a808-dcf07e759bbf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Anastasiia Kuzina

unread,
Oct 17, 2014, 3:30:10 AM10/17/14
to seleniu...@googlegroups.com
Hi Ritika,

In addition to Harsh's answer, there is no difference in navigation to URL between 
driver.navigate().to and driver.get()

http://thebuddhatree.blogspot.in/

unread,
Oct 17, 2014, 7:35:01 AM10/17/14
to seleniu...@googlegroups.com


On Friday, October 17, 2014 11:38:09 AM UTC+5:30, ritika ritu wrote:
Reply all
Reply to author
Forward
0 new messages