What are browser navigation commands in Selenium C

0 votes
Jun 10, 2019 in Selenium by Hema
1,774 views

1 answer to this question.

0 votes

Hi Hema, Browser Navigation commands are used to perform navigation operations in browser. Navigation Commands in C# are implemented using INavigation Interface. Different types of Navigation commands available in Selenium with C# are:

  • GoToUrl – This command is used to navigate to particular URL or website and takes URL as string input parameter.

    Syntax: driver.Navigate().GoToUrl(URL);
  • Back – This command is used to navigate back to previous webpage in browser history.

    Syntax: driver.Navigate().Back();
  • Forward -This command is used to move or go to next webpage present in browser history.

    Syntax: driver.Navigate().Forward();
  • Refresh – This command is used to refresh the webpage.

    Syntax: driver.Navigate().Refresh();
answered Jun 11, 2019 by Dheeraj

Related Questions In Selenium

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
808 views
0 votes
1 answer

How many types of Navigation commands are there in Selenium Webdriver?

Hi Rajan, following are the Navigation commands ...READ MORE

answered May 7, 2019 in Selenium by Abha
• 28,140 points
3,176 views
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,500 points
17,443 views
0 votes
1 answer

Maximizing the browser window in Selenium WebDriver using C#

Check this first: http://code.google.com/p/selenium/issues/detail?id=174 You Can use the JavascriptExector as follows: public ...READ MORE

answered May 2, 2018 in Selenium by Samarpit
• 5,910 points
1,161 views
0 votes
1 answer

Maximizing browser window in Selenium WebDriver using C#

You can use the JavascriptExector as follows: public void maximize() ...READ MORE

answered May 30, 2018 in Selenium by Meci Matt
• 9,460 points
2,492 views
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,686 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,149 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,227 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,879 views
0 votes
1 answer

What is IWebElement and how it is used in Selenium C#?

Hello Paul, IWebElement is an Interface in ...READ MORE

answered Jun 11, 2019 in Selenium by Esha
11,851 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