What is HTML DOM & StaleElement Exception in Selenium

Published: 01 October 2017
on channel: Naveen AutomationLabs
81,771
1.1k

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
شكرا للمشاهدة


Watch video What is HTML DOM & StaleElement Exception in Selenium online without registration, duration hours minute second in high quality. This video was added by user Naveen AutomationLabs 01 October 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 81,771 once and liked it 1.1 thousand people.