Skip to main content

How to find out the Title of any web page using selenium Web Driver

Suppose you want to find out the title of the  https://www.google.co.in/
Here is the code to get the title of any webpage



Output will be shown in your console. See below snapshot

Absolute XPath, Automation Testing, Locators, get Title, getTitle() method

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

Structural Testing

Structural Testing is the type of testing in which user should have the knowledge of the code because in this testing user need to check the structure of the system. Structural Testing is White Box Testing.