# Unable to click the element in shadow-root dom

**URL:** <https://forum.robotframework.org/t/unable-to-click-the-element-in-shadow-root-dom/8478>\
**Category:** Robot Framework\
**Created:** [17 February 2025 11:31 UTC](https://forum.robotframework.org/t/unable-to-click-the-element-in-shadow-root-dom/8478 "2025-02-17T11:31:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Narasareddy405](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@Narasareddy405](https://forum.robotframework.org/u/Narasareddy405)\
**Post date:** [17 February 2025 11:31 UTC](https://forum.robotframework.org/t/unable-to-click-the-element-in-shadow-root-dom/8478/1 "2025-02-17T11:31:16Z")

</div>

Hi All,  
Could you please help me out to click the element available in shadowroot.  
I have tried like this but not working  
Library SeleniumLibrary

Click Element document.querySelector(“#LauncherButton”)

# Click Element dom:document.querySelector(“body\>unblu-floating-app”).shadowRoot.querySelector(“button[id=‘LauncherButton’]”)

# Execute Javascript document.querySelector(“body\>unblu-floating-app”).shadowRoot.querySelector(“button[id=‘LauncherButton’]”).click()

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/a/a7a3f9f185f925bf3e883a717d88a0076fdd0664.png)
