Navigate commands:
These commands allow you to refresh
go-into and switch back and forth between different webpages.
navigate ().to() : It automatically opens a new browser window and fetches the
page that you specify inside its parentheses.
It does exactly the same thing
as the get() method.
navigate().refresh() : It refreshes the
current page
navigate().back(): Takes you back
by one page on the browser’s history.
navigate().forward(): Takes you forward
by one page on the
browser’s history.
No comments:
Post a Comment