Singleton Pattern With Selenium WebDriver + Java + TestNG

preview_player
Показать описание
In this video, I have explained how to implement Singleton Pattern With Selenium WebDriver + Java + TestNG.

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:
Рекомендации по теме
Комментарии
Автор

I Have watched almost all your videos, you have great depth knowledge with related Selenium and latest techies coming in the market. Great hard work done !!!

mandheermaan
Автор

Really a nice topic and it just enhanced our knowledge day by day

panther
Автор

Thank you Naveen, you really doing very good job by upgrading all Job seekers to have latest technology understanding in simple and detailed way.
I am currecntly trying to switch job and referring all your videos for interview. Thanks a lot again!!!

sayalichandane
Автор

Thank you Naveen for making it clear using Singleton Pattern for parallel run using TestNG.

tippanaudayabhaskar
Автор

Thank you Naveen for such insightful content which keep motivating us and help lot to improve knowledge.

snehalpujari
Автор

Thank you Naveen for clear my singleton pattern concept.

RajibLama
Автор

Great video, thank you. Why is it recommended to use Singleton pattern regarding WebDriver? What is the benefit of it?

embrke
Автор

Hi Naveen, I integrated the same things with my existing framework, while executing the scripts the execution is not going good as expected.

bredlin_jose
Автор

Hey Naveen,
Please make a video on how to create portfolio

Life_Observers
Автор

Hi bro thanks for the content one query webdriver manager and app test class are from different package it will works with same package also TIA

karnekantiarun
Автор

Thanks for the Information but I have a question. Is it mandatory to implement singleton pattern while using ThreadLocal method. Because threadlocal itself is storing unique web driver thread instances right?

harisharipirala
Автор

Memwhile the office laptop is facing difficulty to handle one instance of Chrome(after 114 lot of memory is being consumed by Chrome only )...

bihari
Автор

When, we are telling, we have implemented singleton pattern. We mean same object is shared.

From basic java, we know an object has state.

Since same obejct is being shared does it cause interference, if two tests use same object.

zakirvnr
Автор

Hi Naveen: Got a clarity on how to implement Singleton pattern. I have implemented it following your videos whereas when i triggered parallel tests with different browsers it's running always on chrome even though I have provided chrome, firefox & edge browser. Can you help me the reason.

One more issue. I cloned your repository and tried running the tests and getting

object already exists

at
at
at
at Method)
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at


object already exists

at
at
at
at Method)
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at

kamesh