Like explained in video, if adaptees are doing same work but using different function name, then we need to write Adapters. - Now the point is you need not to write separate adapeter for each. 'WebDriverAdapter' can handle this. You just pass the driver & as per driver, it'll call the function. So we can have switch case in WebDriverAdapter if you many adaptee. - Let me know if you've any further questions on it.
@@CodingSimplified Nice video and nice explanation for the above query But in every method do we have to add switch statement.if it is code will get lengthy. Please correct me if I'm wrong
At 4:00 the reference to WebDriverAdaptor was confusing me. I believe it is purely a typo, and should have been WebDriverAdapter. At 0:24 i.e. means you are explaining the meaning of a term,(Latin: "id est"), a simple example is e.g. for "example given". Good video, tho.
Explained it very simply and with easily understandable example.Great work!!!
Thanks. Keep Watching our other videos as well.
Very well explanations provided for all the design patterns.
such a good example keep up the good work
Thanks for your nice feedback. Keep Watching.
Great Explaination!
Thanks for your nice feedback. Keep watching.
Nice explanation
Thanks for your nice feedback. Keep watching.
Awesome...
Nice explaination
Thanks. Keep Watching our other videos as well.
Hi, let's say in your example I have many drivers(adaptees), safari, opera, Do i need to write Adapters for them.
Like explained in video, if adaptees are doing same work but using different function name, then we need to write Adapters.
- Now the point is you need not to write separate adapeter for each. 'WebDriverAdapter' can handle this. You just pass the driver & as per driver, it'll call the function. So we can have switch case in WebDriverAdapter if you many adaptee.
- Let me know if you've any further questions on it.
@@CodingSimplified
Nice video and nice explanation for the above query
But in every method do we have to add switch statement.if it is code will get lengthy. Please correct me if I'm wrong
Fantastic
Brilliant
Thanks for your nice feedback. Keep Watching.
At 4:00 the reference to WebDriverAdaptor was confusing me. I believe it is purely a typo, and should have been WebDriverAdapter. At 0:24 i.e. means you are explaining the meaning of a term,(Latin: "id est"), a simple example is e.g. for "example given". Good video, tho.
Can u give code please
Hi Sahil, Code is already provided in Description. Still here you can find the code: thecodingsimplified.com/adapter-design-pattern/
Voice is tooo looooooow
Very low voice Sir g...
Sorry for this, I'll take care this in my upcoming videos. For now, use headphone for clear voice.