Part 1 — Selenium WebDriver

M
1 min readApr 17, 2024

--

  1. What is Selenium WebDriver?
  • > WebDriver is one of the component in selenium.
  • WebDriver is a java interface.
  • WebDriver is directly implemented by RemoteWebDriver (Class).
  • ChromeWebDriver, FirefoxDriver, EdgeDriver etc ( are implemented by RemoteWebDriver, these are all extended classes from the RemoteWebDriver).
  • WebDriver is an API (Application Programming Interface).

WebDriver is an API.

. WebDriver contains number of methods and these methods will perform the testing on web browser.

. Through Java Coding (Programming), we call the WebDriver methods and that methods will perform the testing on browser.

. The WebDriver methods will talk to the browser through Json (w3c) Protocol.

. Also the WebDriver will capture the title, message from the browser and will send this to the java programming (or our client).

. Our Java Programming cannot directly access the browser, so thus we take help of WebDriver methods and thus we call the WebDriver as an API.

Thus, therefore WebDriver is an API.

--

--