website –
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
Join Automation Step By Step channel:
Udemy Discounts –
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 ________
GitHub –
Udemy –
Training by Raghav at your venue – raghav.qna@gmail.com
Training schedule –
———— UI TESTING ————
Selenium Beginners –
Selenium Java Framework from Scratch –
Selenium Python –
Selenium Tips –
Selenium Builder –
Katalon Studio –
Robot Framework with RIDE-
Robot Framework with Eclipse –
Protractor –
TestProject –
———— API TESTING ————
Web Services (API) –
SoapUI –
Postman –
General –
Katalon Studio API Testing –
———— MOBILE TESTING ————
Appium –
Mobile Playlist –
———— CI | CD | DEVOPS ————
Jenkins Beginner –
Jenkins Tips & Trick –
Docker –
Kubernetes –
————-VIRTUALISATION————-
Virtualization on windows –
———— VERSION CONTROL SYSTEM ————
Git & GitHub –
GitLab –
———— PERFORMANCE TESTING ————
JMeter Beginner –
JMeter Intermediate –
JMeter Advanced –
JMeter Tips & Tricks –
Performance Testing –
———— PROGRAMMING ————
Java Beginners –
Java Tips & Tricks –
GROOVY –
JAVASCRIPT –
PYTHON –
———— IDE ————
Visual Studio Code –
———— BUILD TOOLS ————
Maven –
Gradle –
———— OTHERS ————
Redis-
Misc –
Tools & Tips –
QnA Friday-
Sunday Special –
Ask Raghav –
Interviews –
All Playlists –
———– Connect with Raghav ————
Website –
LifeCharger –
Udemy Courses –
Facebook –
Twitter –
Youtube –
Never Stop Learning
Raghav