Handle ShadowDom elements using Selenium 3 & 4

ShadowDOM is used to separate certain HTML structure, JS and CSS from the actual application DOM. A DOM can have multiple shadowDOM elements. To understand more, please refer https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM To understand which ShadowDOM elements we can automate or not, you can refer to this below video – As normal DOM elements, we can’t directly inspect…