Back To Basics - How does WebDriver driver = new FirefoxDriver(); work?




Have you ever thought how this line works?


WebDriver driver = new FirefoxDriver();


More specifically, why are 2 types needed for creating the driver object?

And why is it possible to create a WebDriver variable but instantiate it with a FirefoxDriver object?

You can find the answer here.

0 Response to "Back To Basics - How does WebDriver driver = new FirefoxDriver(); work?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel