Neetu khatri
Oct 244 min read
Mastering Selenium WebDriver Methods for Effective Test Automation Strategies(Part 1)
WebDriver Methods 1. get(String url) It used to navigate to an application It takes String as an argument Returntype is void We neeed to pass fully qualified url amazon.com ----> https:/ Â /www.amazon.in/ Â If we don't pass fully qualified url we get InvalidArgumentException 2.getTitle() It is used to capture title of the webpage Returntype is String It is used for validation purpose Title is the tab name shown in the browser We have to store it in a variable and p


