How many types of Navigation commands are there in Selenium Webdriver

0 votes
How many types of Navigation commands are there in Selenium Webdriver?
May 7, 2019 in Selenium by Rajan
3,163 views

1 answer to this question.

0 votes

Hi Rajan, following are the Navigation commands present in Selenium webdriver:

  1. navigate().back() – Requires no parameters and takes back the user to the previous webpage in the web browser’s history. For ex. driver.navigate().back();
  2. navigate().forward() – Navigates to the next web page with reference to the browser’s history. For ex. driver.navigate().forward();
  3. navigate().refresh() – This command lets you refresh the current web page there by reloading all the web elements. For ex. driver.navigate().refresh();
  4. navigate().to() – Used to launch a new web browser window and navigate to the specified URL. For ex. driver.navigate().to(“https://google.com”);
answered May 7, 2019 by Abha
• 28,140 points

Related Questions In Selenium

0 votes
1 answer

How many types of Assertion are there in Selenium Webdriver?

Hey Suraj, there are two types of ...READ MORE

answered May 14, 2019 in Selenium by Anvi
• 14,150 points
2,691 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

answered May 9, 2019 in Selenium by Pratibha
• 3,690 points
5,355 views
0 votes
1 answer

What are the different types of TestNG listeners in Selenium Webdriver?

Hello Jagrati, some of the TestNG listeners ...READ MORE

answered Jun 12, 2019 in Selenium by Anvi
• 14,150 points
1,805 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,607 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,101 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,195 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,851 views
0 votes
1 answer

What are some of the browser commands used in Selenium Webdriver?

Hi Nakul, some of the most frequently ...READ MORE

answered May 14, 2019 in Selenium by Abha
• 28,140 points
792 views
0 votes
1 answer

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

answered Jun 26, 2019 in Selenium by Abha
• 28,140 points
5,580 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP