shadowselenium

This can be used along with selenium to identify Shadow Elements present under Shadow DOM/Shadow Root


Install
pip install shadowselenium==1.0.0