Navigation¶
Using the methods below you will be able to manipulate the navigation in the browser and also manage different pages and tabs.
Start Browser¶
You can start the selected browser. This method does not open the browser, it just sets the default settings and leaves it ready to use.
Stop Browser¶
Invoking the stop browser will finish and release the web driver.
Important
This method MUST always be invoked at the end of the automation as to ensure proper release of resources used by the Web Driver.
Failure to do so can cause memory leaks.
Browse¶
You can access a URL using the selected browser.
Navigation¶
In addition to opening the browser in a specific URL, it is also possible to browse new pages and interact with previously accessed pages during the process.
Back¶
Forward¶
Refresh¶
Get Tabs¶
You can get a list of handlers for the tabs that are open.
Activate Tab¶
With a tab handler you can activate the tab and thus access the context of that page. This can be useful when you start with operations on a page and then need to continue the process on a new page that has been opened.
Create Tab¶
You can create a new tab and navigate to the given URL.
Create Window¶
In addition to creating a new tab in the same window, it is also possible to create a new window with the given URL.
Close Page¶
You can easily close the current active page (tab or window).