Domanda di colloquio di Capgemini

webdriver is a class or interface

Risposte di colloquio

Anonimo

5 gen 2018

Simple answer to this is "WebDriver is an Interface,and we are defining a reference variable(driver) whose type is an interface. Now any object we assign to it must be an instance of a class(FireFoxDriver) that implements the interface.

Anonimo

12 dic 2020

WebDriver is an Interface Which is implemented by classes like ChromeDriver,InternetExplorer,FireFoxDriver.

1

Anonimo

17 ago 2021

Interface