Scenario:- How we can open webpage in different Tabs of the same Browser.
Solution:- We need to launch browser and open a webpage(say “www.uftHelp.com”), within the same instance we’ll open another tab and re-direct to a different webpage say “www.Google.com”
For this we will learn and use the following methods of Browser object :-
OpenNewTab:-Opens a new tab in the existing opened browser window.
Navigate:- Redirects to given URL.
FullScreen:-Open the browser in Full-screen mode(F11).
Refresh:-Refreshs the opened page(Like F5).
DeleteCookies:-For deleting the cookies from the browser.
CloseAllTabs:-Close all the opened tab and also the browser instance.
Sync:-Wait for the browser for navigating to the opened URL Application.