Navigate-To

Navigate to a new URL.

Powershell

Navigate to a new URL.

Syntax

Navigate-To [-sessionId ] [-url] []

Parameters

name description
sessionId (Optional) The identifier of the session to route the command to.
url The URL to navigate to.

Examples

Navigate-To -url "http:\\quamotion.mobi"

C#

Declaration

void OpenQA.Selenium.INavigation.GoToUrl(string url);

Arguments:

type name description
string url The URL to load. It is best to use a fully qualified URL

Examples

driver.Navigate().GoToUrl("www.quamotion.mobi");