Selenium-Java All Methods CheatSheet
1. WebDriver Interface Methods
MethodReturn TypeDescription
get(String url)voidOpens a URL in the browser
getCurrentUrl()StringReturns the current page URL
getTitle()StringReturns the page title
getPageSource()StringReturns the HTML source ...
shreenibas.hashnode.dev5 min read