Selenium getTitle() method to get title of page

Selenium get title using getTitle() method If you view source of page, You will find title of the page inside <title> and </title> tags. Selenium getTitle() method is useful to get the title of the page. You can verify or assert that title in selenium test case to check if targeted page is open or … Read more

Selenium get attribute to get value of attribute

This guide will show you how to use Selenium get attribute to extract the value of any HTML attribute from a web element. You’ll learn how getAttribute() works, when to use it, and how it differs from other methods like getText() with real-world examples. Selenium getAttribute() method You can get value of attribute using getAttribute() … Read more

Selenium click element using click() method

Click element in selenium using click() method Selenium click element can be done using click() method. Click is most common action to work on any web page. You need to click on buttons, drop down list, textbox, link, radio button, drag and drop or any other element. Click() method will help you to perform click … Read more