Selenium has the support of majorly 4 navigation commands :
navigate().back()
: This command is used for taking the user to the last webpage of the browser history.
navigate().forward()
: This command is used for taking the user to the next web page of the browser history.
navigate().refresh()
: This command is used for reloading the web components of a webpage by refreshing it.
navigate().to()
: This command is used for navigating to a particular URL in a new web browser. It takes the URL to be migrated to, as a parameter.