How to interact with the elements within #shadow-root (open) while Clearing Browsing Data of Chrome Browser using cssSelector
问题 I had been following the discussion How to automate shadow DOM elements using selenium? to work with #shadow-root (open) elements. While in the process of locating the Clear data button within the Clear browsing data popup, which appears while accessing the url chrome://settings/clearBrowserData through Selenium I am unable to locate the following element: #shadow-root (open) <settings-privacy-page> Snapshot: Using Selenium following are my code trials and the associated errors encountered: