Why do we need to typecast the WebDriver Instance to use TakeScreenshot or JavascriptExecutor?

Similar Tracks
What is the difference between driver.get() and driver.navigate().to() in Selenium WebDriver?
H Y R Tutorials
XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant
H Y R Tutorials
Can't we use RemoteWebDriver = new ChromeDriver()? Selenium Interview Q&A - 5 [Short Answer Series]
Naveen AutomationLabs
WHY TYPECAST WebDriver driver to TakesScreenshot Meaning of TakeScreenshot ts=(TakeScreenshot)driver
ElucidateAcademy1.0
How to Find Broken Images using Selenium WebDriver? | Selenium Interview Questions |
H Y R Tutorials
Automation Testing Mock Interview for Experienced | Automation Testing Interview Questions & Answers
RD Automation Learning
What is the difference between driver.close() and driver.quit() in Selenium WebDriver?
H Y R Tutorials