Replace If-Else & Switch-Case Statements to Initialize WebDriver with HashMap & Functional Interface

preview_player
Показать описание
In this video, I have explained how to Replace If-Else & Switch-Case Statements to Initialize WebDriver with HashMap & Functional Interface.

Schedule a meeting in case of any queries/guidance/counselling:

~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Naveen AutomationLabs Paid Courses:
GIT Hub Course:

Java & Selenium:

Java & API +POSTMAN + RestAssured + HttpClient:
Рекомендации по теме
Комментарии
Автор

At first it looked complicated, however after thinking in Java it made more clearer. Thanks for sharing❤

YouTuber-hmmm
Автор

Hi Neeven thanks for the new content it is very useful

ragupathyragu
Автор

Doesn’t it make complex in code readability ???

Wandereatstravel
Автор

Hi Naveen,

Whenever we are trying to use the properties of other user defined class members, should we use inheritance or import or create object for the class??

hariprasath
Автор

Good One Naveen 😀 thank u for sharing..!!!

Zuber
Автор

Hi @Naveen . Thanks for this useful process.
If possible. Could you please make a solution video of how to save files into custom download folder in selenium while executing in docker containers ?
I will be glad if you can help us with some solutions

GurudattaPraharaj
Автор

Where we will write the capability’s code

ashishsaxena
Автор

Don't you this this will create the instance of every driver and store it in hashmap.

Scenario : What if currently i want to execute a scenario only on chrome browser, but as this hashmap is being created in constructor the hashmap will be populated with all the browser instances which is of no use to me as this will occupy the space unnecessarily.

Please suggest the way to make it optimize in terms of memory usage

NayanGourkar