What is DOM | Document Object Model | Beginner Tutorial

website - automationstepbystep.com/
What is Document Object Model
Why do we need it
How to use DOM
Demo & Examples
Represents the content of xml or html document as tree structure
Can easily read, access, update the contents of the document
Is a programming interface (API)
All XML elements can be accessed through the XML DOM
xmlDoc.getElementsByTagName("title")[0].childNodes[0].nodeValue;
This code retrieves the text value of the first title element in an XML document
The Document Object Model (DOM) is a programming interface for HTML and XML documents
It represents the page in a tree structure so that programs can read, access and change the document structure, style, and content
The DOM is an object-oriented representation of the web page, which can be modified with a scripting language such as JavaScript.
Every web browser uses some document object model to make web pages accessible via JavaScript
References
docs.microsoft.com/en-us/dotn...
www.w3schools.com/xml/xml_dom...
software.hixie.ch/utilities/j...
Join Automation Step By Step channel: kzread.info...
Udemy Discounts - automationstepbystep.com/udem...
Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can.
_______ ONLINE COURSES TO LEARN _______
automationstepbystep.com/onli...
GitHub - github.com/Raghav-Pal/
Udemy - www.udemy.com/user/raghav-pal-3/
Training by Raghav at your venue - raghav.qna@gmail.com
Training schedule - automationstepbystep.com/trai...
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb
Protractor - bit.ly/2KtqVkU
TestProject - bit.ly/2DRNJYE
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN
----------- MOBILE TESTING -----------
Appium - bit.ly/2ZHFSGX
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
Kubernetes - bit.ly/2MJIlMK
------------VIRTUALISATION------------
Virtualization on windows - bit.ly/2SItIL9
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
GitLab - bit.ly/2kQPGyQ
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
----------- PROGRAMMING -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C
JAVASCRIPT - bit.ly/2KJDZ8o
PYTHON - bit.ly/2Z4iRye
----------- IDE -----------
Visual Studio Code - bit.ly/2V15yvt
----------- BUILD TOOLS -----------
Maven - bit.ly/2NJdDRS
Gradle - bit.ly/30l3h1B
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
---------- Connect with Raghav -----------
Website - automationstepbystep.com/
LifeCharger - lifecharger.org/
Udemy Courses - www.udemy.com/user/raghav-pal-3/
Facebook - / automationstepbystep
Twitter - / learnwithraghav
KZread - / automationstepbystep
Never Stop Learning
Raghav

Пікірлер: 353

  • @benefleckcumberston5793
    @benefleckcumberston5793 Жыл бұрын

    Every time I start learning the basic concept of some coding stuff, there is always a kind Indian guy who explain it in a very clear way! Thank you!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome

  • @zvisger

    @zvisger

    Жыл бұрын

    @Automation Step by Step thank you random smart Indian guy!

  • @codingprograms2078

    @codingprograms2078

    19 күн бұрын

    Facts 😂

  • @paweellwart3445
    @paweellwart3445 Жыл бұрын

    I'm amazed, was just lying on my couch and wanted to watch some short video on DOM, I've already spent some time on other quite long DOM courses and after several minutes of this video I fully understand everything. Was not expecting how good this will be, just WOW! Thank you 🤟🙏

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Wow, thank you!

  • @JamesScottGuitar
    @JamesScottGuitar2 жыл бұрын

    I've been learning about this stuff just out of curiosity. This is a fantastic explanation! Thank You! 🙏

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome James

  • @nanaishmw4914

    @nanaishmw4914

    2 жыл бұрын

    Me too

  • @SubhrosTravelouge
    @SubhrosTravelouge2 жыл бұрын

    This is the best explanation anyone can have in such simple way and in less than 10 minutes. Wow man, just amazing. Superb! Keep going bro.♥♥

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks for watching

  • @flaviusfotea92

    @flaviusfotea92

    Жыл бұрын

    True, I am amazed how simple he made it sound. I tried different blogs but none has been so clear as this video.

  • @hassanlearning4086
    @hassanlearning40865 ай бұрын

    Understanding web technologies as a beginner can be challenging, but you have made it simple. Thank you!

  • @RaghavPal

    @RaghavPal

    5 ай бұрын

    Glad it was helpful Hassan

  • @wwill43311
    @wwill433112 жыл бұрын

    I have watched five or so videos on DOM and your video has provided the best explanation of DOM.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks a lot Will, humbled

  • @cavelord69
    @cavelord693 жыл бұрын

    Thank you so much! The way my school explained it was crazy hard! You earned a sub!

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Awesome! Thank you!

  • @oscarpirateman
    @oscarpirateman2 жыл бұрын

    Super simple explanation, thanks for explaning this in such a clear way.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome Oscar

  • @homeofcreation
    @homeofcreation2 жыл бұрын

    Best explanation of the DOM ever, and all you need, really, in less than 7 minutes. Great Job Raghav.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks

  • @spidersiri104
    @spidersiri10411 ай бұрын

    i´m subscribing to this channel cuz i learned from one video, what i wasn´t able to learn in hours watching another videos! Thx man, your didactic is amazing!

  • @RaghavPal

    @RaghavPal

    11 ай бұрын

    Great to know this. Humbled. Thanks

  • @user-rg7ec9cn7d
    @user-rg7ec9cn7dАй бұрын

    You explained this so well ! Thank you! I did not understand this until I watched your video. Now I will watch others . Thank you again.

  • @RaghavPal

    @RaghavPal

    Ай бұрын

    Thanks for watching .. humbled

  • @RKT1988
    @RKT19882 жыл бұрын

    Thank you so much for this video... i have been trying to understand DOM and so far, this is the best explanation i came across :)

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    so happy to know this Ragini

  • @thinkandrepent3175
    @thinkandrepent31753 ай бұрын

    Thank you so much for this clear and concise. Summary of The document object model

  • @RaghavPal

    @RaghavPal

    3 ай бұрын

    Glad it was helpful

  • @ashwinsasidharan9817
    @ashwinsasidharan98174 ай бұрын

    I have been following one of the best online courses for JavaScript but you have explained DOM with a level of clarity i couldn't get from my online lectures. thanks .

  • @RaghavPal

    @RaghavPal

    4 ай бұрын

    Great to know this Ashwin.. thanks

  • @maxxpellowski2916
    @maxxpellowski29162 жыл бұрын

    You are a GREAT teacher, my friend. Thanks for the video. Subscribed and the notification bell is ticked.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks a lot Maxx

  • @giulia6930
    @giulia6930 Жыл бұрын

    Thank you very much man ❤💯 Perfect and clear explanation!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    You're welcome!

  • @mahdip633
    @mahdip633 Жыл бұрын

    You Indians are gods of teaching things in the simplest terms. Thank you!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Thanks for the kind words

  • @user-bm9tn9vz8h
    @user-bm9tn9vz8hАй бұрын

    I am amazed! So well-explained!

  • @RaghavPal

    @RaghavPal

    Ай бұрын

    Glad it was helpful Suchira

  • @user-dc7oj3el7o
    @user-dc7oj3el7o2 жыл бұрын

    The best explanation ever on DOM. Thanks!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    most welcome

  • @nanaishmw4914

    @nanaishmw4914

    2 жыл бұрын

    Definetly

  • @kirthikas1896
    @kirthikas18962 жыл бұрын

    You became one of my fav teacher in youtube ❤️

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    I am so grateful Krithika

  • @genniecummings3724
    @genniecummings372410 ай бұрын

    Thank you!!!! You explained it so simple for a newbie like myself!

  • @RaghavPal

    @RaghavPal

    10 ай бұрын

    Glad it was helpful Gennie

  • @towbbie
    @towbbie Жыл бұрын

    thanks, i now understand what DOM is, this explanation is very easy to digest, appreciate that brother

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome

  • @weihaozhang9160
    @weihaozhang91602 жыл бұрын

    Thank you so much! Your explanation is very clear!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You are welcome Weihao

  • @maheshgupta2389
    @maheshgupta23898 күн бұрын

    This video made three years ago but this works in 2024 . Indian concept is super cool 😎

  • @RaghavPal

    @RaghavPal

    7 күн бұрын

    So happy to know this Mahesh.. thanks

  • @tarvinder91
    @tarvinder912 жыл бұрын

    Amazing video. I understood everything in just one go!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Glad to know Tarvinder

  • @sankalpsharma6473

    @sankalpsharma6473

    Жыл бұрын

    @Tarvinder Singh bhai lekin ye (DOM) faaltu hi hai ek tareeke se matlb bas kissi element ko call karna ho ya HTML ko tree structure m convert karna ho.......isske alawa iska kuch aur kaam b hai ??

  • @mballyzungu7241
    @mballyzungu7241 Жыл бұрын

    Simply AMAZING, thank you so much!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    You're very welcome!

  • @robertwright2080
    @robertwright20804 ай бұрын

    Very good. I knew nothing about it and now I can explain it and show examples because of this video....

  • @RaghavPal

    @RaghavPal

    4 ай бұрын

    Robert so happy to know this helped.. keep learning

  • @yoursclhelper
    @yoursclhelper2 жыл бұрын

    Keep the lessons going. That cleared things up for me.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Glad to hear it Raj

  • @MohammedKhan-qm1lr
    @MohammedKhan-qm1lr2 жыл бұрын

    Excellent tutorial no bullshit and straight on point. Thank you so much

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks Yousuf

  • @talkathiriify
    @talkathiriify2 жыл бұрын

    Excellent and simple explanation Thank you very much.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome Tarik

  • @engineeringstudent7572
    @engineeringstudent75723 жыл бұрын

    Thank You Sir, Very very simply explained.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You are most welcome

  • @mohammadbabaei4903
    @mohammadbabaei4903 Жыл бұрын

    Well explained in such a clear way! Thanks

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Thanks a lot

  • @sandiacgaming2934
    @sandiacgaming29346 ай бұрын

    best understandable video ever i watched about DOM, Thanks

  • @RaghavPal

    @RaghavPal

    5 ай бұрын

    Glad it was helpful

  • @divyesingh4329
    @divyesingh43292 жыл бұрын

    Watched million subs youtubers but the way u explained unbelievable.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    So happy & humbled to see your message

  • @marigunnerhaha
    @marigunnerhaha Жыл бұрын

    Thank you! I enjoyed this sooo much, and I learned so much so much, much. thank you. so much, so much, much, muc

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    most welcome

  • @EmiCiappi
    @EmiCiappi8 ай бұрын

    What a good channel I have found! I am learning js, but also I want to improve my automations skills with selenium

  • @RaghavPal

    @RaghavPal

    8 ай бұрын

    Welcome aboard Emi

  • @mohammadhabib8334
    @mohammadhabib8334 Жыл бұрын

    Simple, precise and very insightful. Thanks Raghav

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome!

  • @techany671
    @techany67111 ай бұрын

    oooh my this is A VERRRRRRRRRY TRANSPARENT explanation cool man keep it up.

  • @RaghavPal

    @RaghavPal

    11 ай бұрын

    Glad you liked it!

  • @techany671

    @techany671

    11 ай бұрын

    @@RaghavPal cool I get it, can I find you in any of these social media platforms as in by your username 😀 kindly if there is .Thanks man keep it for the good job you are doing.

  • @vegankitchenrecipes
    @vegankitchenrecipes2 жыл бұрын

    Our neighbors are very talented with programming . Love from Sri Lanka

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks

  • @lagutinskiy
    @lagutinskiy3 жыл бұрын

    Finally got it. Many thanks!

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Most welcome Vladimir

  • @shanlu7572
    @shanlu75722 жыл бұрын

    super nice! Thank you so much for your explanation!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You're very welcome Shan Lu

  • @svergurd3873
    @svergurd3873 Жыл бұрын

    Very good explanation. It became really clear. Thank you!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome

  • @delucca2250
    @delucca22502 жыл бұрын

    Thanks a lot for share with us in such a clear way!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome

  • @licioussamuels
    @licioussamuels Жыл бұрын

    The indian KZreadr is really helpful

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Happy to hear this Samuel

  • @juniorWeb247
    @juniorWeb2472 жыл бұрын

    such a wonder full explanation. God bless you brother, really help full for me.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Glad to hear that Deepinder

  • @richardrobinson3105
    @richardrobinson3105 Жыл бұрын

    Good explanation Mr, Thank you!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Glad it was helpful!

  • @bolbolinfosec1376
    @bolbolinfosec13767 ай бұрын

    you are great teacher bro , big thanks

  • @RaghavPal

    @RaghavPal

    7 ай бұрын

    So nice of you

  • @Jaiemimoyu
    @Jaiemimoyu7 ай бұрын

    Thank you for your teaching

  • @RaghavPal

    @RaghavPal

    7 ай бұрын

    You are very welcome

  • @mtg_07
    @mtg_07 Жыл бұрын

    what an explanation

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Glad it was helpful!

  • @rcasturi55
    @rcasturi557 ай бұрын

    Thank you so much. It is the ice breaker

  • @RaghavPal

    @RaghavPal

    7 ай бұрын

    Most welcome Narasimha

  • @irlonterblanche1639
    @irlonterblanche16392 жыл бұрын

    Great explanation! Thank you!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Glad it was helpful!

  • @neilhess2518
    @neilhess2518 Жыл бұрын

    Really great explanation! Thank you!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    You're very welcome!

  • @galaxysamsung3320
    @galaxysamsung33203 жыл бұрын

    Excellent video, thank you Sir!

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Glad you enjoyed it!

  • @nanaishmw4914

    @nanaishmw4914

    2 жыл бұрын

    Thank you sir

  • @Findingmysoul7
    @Findingmysoul7 Жыл бұрын

    Thanku sir this is really helpful to learn about DOM

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome

  • @Kanikagupta0109
    @Kanikagupta01093 ай бұрын

    so helpful thankyou so much sir!!!!!

  • @RaghavPal

    @RaghavPal

    3 ай бұрын

    Most welcome Kanika

  • @Jason-zj7ex
    @Jason-zj7ex Жыл бұрын

    Sir, You are a Legend !!!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Thanks a lot Jason, humbled

  • @higiniofuentes2551
    @higiniofuentes25515 ай бұрын

    Thank you for this very useful video!

  • @RaghavPal

    @RaghavPal

    5 ай бұрын

    Thanks

  • @umarkhan-ey7dx
    @umarkhan-ey7dx2 жыл бұрын

    Fantastical explanation!❤

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks Umar

  • @andreaszetea-ster900
    @andreaszetea-ster9003 жыл бұрын

    Thank you. Very well explained

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Glad it was helpful!

  • @priyamvashi2187
    @priyamvashi2187 Жыл бұрын

    Thank you.. clear explanation

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Glad it was helpful Priyam

  • @raghavendraviswanath6419
    @raghavendraviswanath64192 жыл бұрын

    very neat and easy to understand explanation. Thanks for the video

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You are welcome!

  • @544soujanya8
    @544soujanya82 жыл бұрын

    Explained very well

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks

  • @atreyiyer7822
    @atreyiyer7822 Жыл бұрын

    This is very useful because I'm learning to code

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Glad I could help

  • @gaurav5183
    @gaurav5183 Жыл бұрын

    Best explanation in internet

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Happy & Humbled to see this. Thanks Gaurav

  • @francisdominicbermas2648
    @francisdominicbermas2648 Жыл бұрын

    Thank you! You explained the concept and application simply and easy to understand.

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Glad it was helpful Francis

  • @sarveshpadwalkar664
    @sarveshpadwalkar6643 жыл бұрын

    Very nicely explained sir, Thank you.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You're welcome Sarvesh

  • @juancaca1993
    @juancaca1993 Жыл бұрын

    Amazingly explained!!!!! new sub ^^

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Awesome, thank you!

  • @tahataha1408
    @tahataha1408 Жыл бұрын

    thanks man that was awesome!!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome

  • @davidralte4572
    @davidralte45723 ай бұрын

    Thankyou for explaining

  • @RaghavPal

    @RaghavPal

    3 ай бұрын

    Glad it helped David

  • @faithtay1234
    @faithtay12342 жыл бұрын

    Thank you for the video! It helped me understand what the DOM is about as a beginner. I would like to ask, at 4:20, why is there a need to add in .childNodes[0] when there are no child nodes to title? What is .childNodes[0] pointing at?

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Hi Faith, it should point to the childNode at first position of that parameter, I will try to add more examples

  • @nanaishmw4914

    @nanaishmw4914

    2 жыл бұрын

    It was super helpful, thanks

  • @sohamajgaonkar3119
    @sohamajgaonkar31192 жыл бұрын

    Superb. Nicely Explained

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks Soham

  • @codeymaze.
    @codeymaze.2 жыл бұрын

    Thank you for this ❤️

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You're so welcome!

  • @PrinceKumar-eb8hd
    @PrinceKumar-eb8hd3 жыл бұрын

    simple explaination....Thanks Raghav

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You're most welcome Prince

  • @sjp0077
    @sjp00772 жыл бұрын

    Aboustley fabulous explanation sir

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks Joseph

  • @StevenSchmidtSnr
    @StevenSchmidtSnr2 жыл бұрын

    Great simple explanation 👍Thanks Raghav

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome Steven

  • @cse-d_5g5_karthik55
    @cse-d_5g5_karthik552 жыл бұрын

    thank you very helpful

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome

  • @sapnadevda7061
    @sapnadevda7061 Жыл бұрын

    Thank u sir . The way written in my book was so boring but u made it interesting 🥺🙃

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome 😊

  • @madhu1005
    @madhu10052 жыл бұрын

    thank you, really helpful. It is really helpful to us if you make a series of tutorials. Also I don't fine any list of vedios from playlist DOM series. Kindly share the play list link

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    HI Madhu, can find all here - automationstepbystep.com/

  • @weewooweewoo3175
    @weewooweewoo31752 жыл бұрын

    thank you for the explanation

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You are welcome!

  • @nitroman8929
    @nitroman89293 жыл бұрын

    Excellent and much needes thanks..

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You're most welcome

  • @emsity819
    @emsity81913 күн бұрын

    man, I wish I could be smart enough to repair a old dom code I used to use a lot

  • @RaghavPal

    @RaghavPal

    13 күн бұрын

    I hope this will help

  • @emsity819

    @emsity819

    12 күн бұрын

    @@RaghavPal it helped me get the hang of it, but it will still be a long way to go until I fix the code. Thanks for the great tutorial!

  • @himats7195
    @himats7195 Жыл бұрын

    Hi Raghav, is it possible to check the html values like padding , color , margins etc using selenium web driver or play wright automation ? Can it be just done manual testing? Thank you

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Hima, Yes, it is possible to check HTML values like padding, color, margins, etc. using Selenium WebDriver or Playwright automation. Both tools allow you to interact with the web page's HTML elements and retrieve their attributes, including style attributes like padding, color, and margins. For example, in Selenium WebDriver, you can use the getAttribute() method to retrieve the values of any HTML attribute, including style attributes. Here's an example: element = driver.find_element_by_id("my_element") padding_value = element.get_attribute("style") Similarly, in Playwright, you can use the getAttribute() method to retrieve the values of any HTML attribute. Here's an example: const element = await page.$("#my_element"); const paddingValue = await element.getAttribute("style"); While it is possible to check HTML values manually, it can be time-consuming and error-prone. Automating the process with Selenium WebDriver or Playwright can save time and improve the accuracy and consistency of your tests.

  • @himats7195

    @himats7195

    Жыл бұрын

    @@RaghavPal thank you 🙏

  • @vipindimri2351
    @vipindimri2351 Жыл бұрын

    Simply awesome

  • @RaghavPal

    @RaghavPal

    11 ай бұрын

    Most welcome Vipin

  • @souravnaik6355
    @souravnaik63552 жыл бұрын

    Great Explanation !!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks Sourav

  • @felipesuarez4820
    @felipesuarez48202 жыл бұрын

    Very good video thank you so much.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You are welcome!

  • @gulinatayier9049
    @gulinatayier90492 жыл бұрын

    THANK YOU SO MUCH!!!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome Gulgina

  • @gamingcroctv4523
    @gamingcroctv45232 жыл бұрын

    Thank you sir!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome

  • @sVenkatrao
    @sVenkatrao2 жыл бұрын

    Super explanation sir

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Most welcome Venkat

  • @fantashio
    @fantashio3 жыл бұрын

    Cool. Keep it up!

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Thanks for watching

  • @justcarlasyoutube
    @justcarlasyoutube Жыл бұрын

    thank you for this

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    You're welcome 😊

  • @ghaznfarhassan5880
    @ghaznfarhassan58802 жыл бұрын

    I can't see before DOM lec simple and easy

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks for watching

  • @astaghfirullahalzimastaghf3648
    @astaghfirullahalzimastaghf36482 жыл бұрын

    So this is how JavaScript can read the html attribute and modify it.. like document.getElementById(//Id value).innerHTML=//write something.. so JavaScript creates this functionality based on from DOM API right?

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Yes, javascript makes use of DOM to interact with the page

  • @HowTo-lc2rp
    @HowTo-lc2rp Жыл бұрын

    Awesome 😎👍 Raghav Sir.

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Thanks

  • @ttone2330
    @ttone23302 жыл бұрын

    Very Good... Well put together informative video.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Glad you liked it!

  • @SriRam-fn6tx
    @SriRam-fn6tx2 жыл бұрын

    Awesome explanation!!!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Thanks for watching Sri Ram

  • @ShubhamMishra-mz4zw
    @ShubhamMishra-mz4zw3 жыл бұрын

    Thank you so much. I have heard this term for the first time but couldn't understand what exactly does this mean.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Most welcome Shubham

  • @nanaishmw4914

    @nanaishmw4914

    2 жыл бұрын

    Me too

  • @majetysaiabhinesh7239
    @majetysaiabhinesh7239 Жыл бұрын

    01:52 👏 D.O.M can be used by any programming language most commonly used JavaScript.

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    yes

  • @rainmaker8180
    @rainmaker8180 Жыл бұрын

    thank you so much!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    You're welcome!

  • @ridamalik6789
    @ridamalik6789 Жыл бұрын

    Thanks bro!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Most welcome Rida

  • @Jhansi-rz8jv
    @Jhansi-rz8jv10 ай бұрын

    best explanation

  • @RaghavPal

    @RaghavPal

    10 ай бұрын

    Thanks for liking