Discussion about this post

User's avatar
gandhi8ten's avatar

@Alex, as we need to work with abstraction, like you mentioned WebDriver driver = new FirefoxDriver(); and this aligns with dependency inversion of solid principle.

now, will custom methods in firefoxdriver and remotewebdriver classes be available using 'driver' reference variable? if is not then how do we go about that? i have not come any situation so far, but wanted to understand... thanks

Expand full comment

No posts

Ready for more?