Unable to create cssSelector for elements inside shadow-root tag | Selenium Forum
SANKALP PURANIK Posted on 23/02/2022


For e.g. in below DOM if suppose I want to get the XPath or cssSelector for the one highlighted in yellow. I am unable to locate using xpath or cssSelector like div.wrapper-center in DOM window, since it is inside #shadow-root. Please help in finding the cssSelector for it