Navigation Commands

Microsoft Edge supports the following WebDriver commands for navigation:

HTTP RequestCommands
/session/{sessionId}/backBack
/session/{sessionId}/forwardForward
/session/{sessionId}/refreshRefresh
/session/{sessionId}/titleGet Title
/session/{sessionId}/urlGet, Get Current URL

Back

NameBack
DescriptionNavigates backwards in the browser history, if possible.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestPOST /session/{sessionId}/back

JSON Parameters
None.

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": null
}

Forward

NameForward
DescriptionNavigates forward in the browser history, if possible.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestPOST /session/{sessionId}/forward

JSON Parameters
None.

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": null
}

Refresh

NameRefresh
DescriptionReloads the current page.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestPOST /session/{sessionId}/refresh

JSON Parameters
None.

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": null
}

Get Title

NameGet Title
DescriptionGets the current page title.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestGET /session/{sessionId}/title

JSON Parameters
None.

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": "{title}"
}

Get

NameGet
DescriptionNavigates to the specified URL.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestPOST /session/{sessionId}/url

JSON Parameters

{
    "url": "https://www.bing.com/"

}

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": null
}

Get Current URL

NameGet Current URL
DescriptionRetrieves the URL of the current page.
SpecW3C WebDriver, JSON Wire Protocol
HTTP RequestGET /session/{sessionId}/url

JSON Parameters
None.

JSON Response Value

{
    "sessionId": "{sessionId}",
    "status": 0,
    "value": "{url}"
}