Sample example for verify the page title in selenium WebDriver


0

getTitle() :

It is one of the WebDriver method. It gets title of the current page.

Example:


output :