Monday, September 9, 2019

Post#5.Selenium WebDriver Interface Hierarchy


Let's understand what are the interfaces and classes present in the selenium Java library.
Search Context is top most interface in webdriver, Webdriver Interface extends the Search Context, Remote Webdriver class implements the Webdriver Interface, Browser classes (FirefoxDriver, ChromeDriver..) extends the Remote Webdriver Class.


Dotted Lines represents class implementing interface
Solid Lines represents class implementing class or Interface implementing interface
(I)- Interface
(c)- class 
Note: Selenium WebDriver imitates the real world user behavior as closely as possible. Since real world user is not able to interact with any invisible element or elements not rendered yet, neither does WebDriver.

1 comment: