Reload-Page

Reloads the current webpage.

Powershell

Reloads the current webpage optionally ignoring the cache.

Syntax

Reload-Page [[-sessionId] ] [[-ignoreCache] ] []

Parameters

name description
sessionId (Optional) The identifier of the session to route the command to.
ignoreCache If true, browser cache is ignored (as if the user pressed Shift+refresh).

Examples

Reload-Page

C#

Declaration

void OpenQA.Selenium.INavigation.Refresh();

Examples

driver.Navigate().Refresh();