Thanku so much for this great way of teaching repsected Mam...I was quite confused in constructor in selenium but now it gets cleared ...I'm quite disappointed to see tha you have not uploaded all videos of selenium web driver pls make Mam🙏🙏🙏
What if you call initelement method in test class and not inside the page class constructor, we can maintain the driver instance in that way also right?
u can use static webdriver driver; but u will encounter problems when u perform parallel testing. Static will provide references/instance of webdriver only to a browser so if u want to run on multiple browsers at a time u have to use constructor nd pass instances
because we have to override the test classes with base class if we use static instance then it is very difficult because static keyword is reffered to current class not instance
Thanku so much for this great way of teaching repsected Mam...I was quite confused in constructor in selenium but now it gets cleared ...I'm quite disappointed to see tha you have not uploaded all videos of selenium web driver pls make Mam🙏🙏🙏
Glad to hear that. Will try to post more
Really ur way of explaining is 👌👌
Very helpful information 😊
Helpful and we need samething for method overloading, method overriding and inheritance
Thise is really help me to understand why constructor is calling
Gald to know
That's clear enough. Nice one . Will follow ur other videos as well
Awesome, thank you!
@@techtalksvpm6215 Welcome . Pls have a look at my channel too. If you like videos you can subscribe.
Great👍
Awesome explanation
Glad you liked it
you explained everything clearly ,
Red lines in code mean error. So all code demonstrated is wrong? Thanks.
What if you call initelement method in test class and not inside the page class constructor, we can maintain the driver instance in that way also right?
Very good
👍
This really helps.... Can you pls make REST API automation videos.
Tq mam,,,,
Only thing is if you got better quality mic it would make the video much better Thank you.
Awesome explanation 🙂🙂
Glad it was helpful!
why not create a static instance of driver and use it across all pages. would like to know how is this different to conustructor method please.
Were you able to find the answer to your question ? I was also looking for same answer and landed here.
u can use static webdriver driver; but u will encounter problems when u perform parallel testing. Static will provide references/instance of webdriver only to a browser so if u want to run on multiple browsers at a time u have to use constructor nd pass instances
because we have to override the test classes with base class if we use static instance then it is very difficult because static keyword is reffered to current class not instance
for me getting initialization error when executing the test case can you please help me
Awesome
Thank you! Keep watching
Awesome... Thank you so much... Can you please explain internal design of initElement method of PageFactory class
Thank you. Sure will try to make a video on that.
Hi, ctrl+right click is not working for me. source code not found error pops up. Could you please help me to solve this issue. thanks
Can u explain super keywords usage here?
Mam What’s the difference between the Selenium and SelectorsHub?
Is singleton design pattern is same?
Can you plz explain in Hindi
Incomplete explaination