This repo is to demonstrate the use of locating elements in shadow DOM with two techniques namely : Using the in-built getShadowRoot() : works only in frameworks on Selenium v4 or later. Using JavaScriptExecutor : works on pretty much everything.