Shadow DOM element location limits with getShadowRoot()
Selenium 4 introduces the getShadowRoot() method to address the encapsulation of the Shadow DOM, which previously prevented standard findElement calls from accessing internal elements. While this method allows access to the shadow root of a host element, the interaction model changes. Element searches must be performed against the returned root object rather