Why Should We Upcast Browser Driver Class Object To WebDriver?
In interview a frequently asked interview question is “Why do we upcast browser class object to WebDriver? or why we do not upcast to RemoteWebDriver class instead of WebDriver?” and we give all sort of answers. First of all this question is asked with assumption that we do not have any option except upcast. Is…
Read More “Why Should We Upcast Browser Driver Class Object To WebDriver?” »