Methods of Selenium WebDriver Interfaces

  1. findElement()
  2. findElements()
  1. close()
  2. get()
  3. getTitle()
  4. getPageSource()
  5. getCurrentUrl()
  6. getWindowHandle()
  7. getWindowHandles()
  8. manage()
  9. navigate()
  10. quit()
  11. switchTo()
  1. getScreenshotAs(args)
  1. executeScript()
  2. executeAsyncScript() — we don't use this for automation
  1. clear()
  2. click()
  3. getAttribute()
  4. getCssValue()
  5. getLocation()
  6. getRect()
  7. getSize()
  8. getTagName()
  9. getText()
  10. isDisplayed()
  11. isEnabled()
  12. isSelected()
  13. sendKeys()
  14. submit()

--

--

--

SDET| Blogger! | Automation Enthusiast! | On a journey of Continuous learning.... !

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Invert object with Lodash

From WordPress to React. Here’s why and some tips that you should know.

Easy JSON in Kotlin with a Type-Safe Builder DSL

Web Audio Series, Part 2: Designing distortion effects using Javascript and the Web Audio API

Writing a front-end WebAssembly framework in Rust: lessons learned

All side optimized Next.js translations

What they never told you about Redux

How To Reset root password in RHEL 8

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sri Priya P Kulkarni

Sri Priya P Kulkarni

SDET| Blogger! | Automation Enthusiast! | On a journey of Continuous learning.... !

More from Medium

Getting Started With Selenium Python [Automation]

Selenium 4 New features -Relative Locators with Practical Examples

testNG Framework

Protractor Tutorial: Handling iFrames & Frames in Selenium