Hey Guys, in this video we will learn the difference between innerHTML vs innerText and TextContent in detail.
Inner html returns the html elements text and also the tags
Inner text returns the visible text from the DOM
text content returns the visible and hidden text
Source code:
https://github.com/ortoniKC/Playwrigh...
----------------------------------------------------------------------
📢 Announcement 📢
LetCode is now on Discord!
Join here - / discord
-------------------------Thank you--------------------------
Thanks for watching, if you like the video, give it a thumbs up 👆.
Sharing is caring, kindly share the video with your friends and colleagues.
Don't forget to subscribe and hit the bell 🔔 notification.
-------------------------------SOCIAL-------------------------------
📝Test Practice Site: https://letcode.in/
👥Facebook Group: / letcode
🐦Gitter: https://gitter.im/letcode-selenium/co...
📸Instagram: / letcode.in
🎓 LinkedIn: / ortoni
⛳️ XPath Extension: https://bit.ly/2T5EUCu
Join our WhatsApp group.
http://bit.ly/3cSPCpm
#letcode #playwright