filmov
tv
Why do we need to typecast the WebDriver Instance to use TakeScreenshot or JavascriptExecutor?
Показать описание
In this video, I have explained about "Why do we need to typecast the WebDriver instance to use TakeScreenshot or JavascriptExecutor Interface methods".
WebDriver is an interface with a set of unimplemented methods.
WebDriver drives a browser natively, as a user would, either locally or on a remote machine using the Selenium server, marks a leap forward in terms of browser automation.
Selenium WebDriver refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just WebDriver.
Selenium WebDriver is a W3C Recommendation
- WebDriver is designed as a simple and more concise programming interface.
- WebDriver is a compact object-oriented API.
- It drives the browser effectively.
When working with selenium, we typecast the webdriver instance in order to use the methods from TakeScreenshot or JavascriptExecutor interfaces.
So basically java doesn't allow us to create the interface objects, so that is the reason we always typecast the webdriver instance.
But do you know what exactly what happens when you typecast it and why we need to typecast it?
Watch this video to learn more about typecasting of webdriver instance.
==============================================
👑 Join my YouTube channel to get access to perks:👇
==============================================
==============================================
Connect us @
==============================================
==============================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #interviewQuestions #webAutomation
Selenium Interview Questions By Yadagiri Reddy
h y r tutorials hyr tutorials selenium interview questions and answers selenium tutorial for beginners selenium java selenium interview questions and answers selenium tutorial for beginners selenium java
selenium selenium java selenium tutorial for beginners automation testing selenium webdriver
WebDriver is an interface with a set of unimplemented methods.
WebDriver drives a browser natively, as a user would, either locally or on a remote machine using the Selenium server, marks a leap forward in terms of browser automation.
Selenium WebDriver refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just WebDriver.
Selenium WebDriver is a W3C Recommendation
- WebDriver is designed as a simple and more concise programming interface.
- WebDriver is a compact object-oriented API.
- It drives the browser effectively.
When working with selenium, we typecast the webdriver instance in order to use the methods from TakeScreenshot or JavascriptExecutor interfaces.
So basically java doesn't allow us to create the interface objects, so that is the reason we always typecast the webdriver instance.
But do you know what exactly what happens when you typecast it and why we need to typecast it?
Watch this video to learn more about typecasting of webdriver instance.
==============================================
👑 Join my YouTube channel to get access to perks:👇
==============================================
==============================================
Connect us @
==============================================
==============================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #interviewQuestions #webAutomation
Selenium Interview Questions By Yadagiri Reddy
h y r tutorials hyr tutorials selenium interview questions and answers selenium tutorial for beginners selenium java selenium interview questions and answers selenium tutorial for beginners selenium java
selenium selenium java selenium tutorial for beginners automation testing selenium webdriver
Комментарии