Methods Present in Interfaces of Selenium WebDriver
SearchContext interface :
- findElement()
- findElements()
WebDriver interface :
- close()
- get()
- getTitle()
- getPageSource()
- getCurrentUrl()
- getWindowHandle()
- getWindowHandles()
- manage()
- navigate()
- quit()
- switchTo()
TakesScreenshot interface :
- getScreenshotAs(args)
JavascriptExecutor interface :
- executeScript()
- executeAsyncScript() – we dont use this for automation
WebElement interface :
- clear()
- click()
- getAttribute()
- getCssValue()
- getLocation()
- getRect()
- getSize()
- getTagName()
- getText()
- isDisplayed()
- isEnabled()
- isSelected()
- sendKeys()
- submit()