What is HTML DOM & StaleElement Exception in Selenium
Naveen AutomationLabs Naveen AutomationLabs
378K subscribers
80,839 views
0

 Published On Oct 1, 2017

What is HTML DOM - Document Object Model? Why we get StaleElement Exception in Selenium.

• DOM is an API Interface provided by browser
• When a web page is loaded, browser creates a DOM of the page.

=============================================
Learn What are the different Exceptions in Selenium:
a. StaleElement Exception
b. ElementNotFound Exception
c. NoElementReference Exception

=======================================

With the document object model, JavaScript gets all the power it needs to create dynamic HTML: 

• JavaScript can change all the HTML elements in the page
• JavaScript can change all the HTML attributes in the page
• JavaScript can change all the CSS styles in the page
• JavaScript can remove existing HTML elements and attributes
• JavaScript can add new HTML elements and attributes
• JavaScript can react to all existing HTML events in the page
• JavaScript can create new HTML events in the page

================================================

Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

https://www.youtube.com/c/Naveen%20Au...

Follow me on my Facebook Page:
  / naveenqtpexpert  

~-~~-~~~-~~-~
Follow my Site/Blog: http://www.naveenautomationlabs.com
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
   • Selenium & Automation Interview Prepa...  
~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Naveen%20Au...

Follow me on my Facebook Page:
  / naveenqtpexpert  

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
https://t.me/joinchat/COJqZUPB02r5sB7...

Paid courses (Recorded) videos:
Java & Selenium Course: http://www.naveenautomationlabs.com/p...
API Course: http://www.naveenautomationlabs.com/p... ➡️Get Our Courses✔️
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course: http://www.naveenautomationlabs.com/p...
API Course: http://www.naveenautomationlabs.com/p...
-------------------------------

✔️SOCIAL NETWORKS
Facebook:   / naveenqtpexpert  
Twitter:   / naveenkhunteta  
Blog: http://www.naveenautomationlabs.com
--------------------------------

Support My Channel✔️Or Buy Me A Coffee
Paypal: https://paypal.me/naveenkhunteta
Google Pay: [email protected]
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

show more

Share/Embed