# How to right click on any element - Selenium + RobotFramework

**URL:** <https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777>\
**Category:** SeleniumLibrary\
**Created:** [5 February 2024 17:05 UTC](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777 "2024-02-05T17:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![STBN03](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@STBN03](https://forum.robotframework.org/u/STBN03)\
**Post date:** [5 February 2024 17:05 UTC](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777/1 "2024-02-05T17:05:47Z")

</div>

Hi,

How can I right click on an element the code I use is clicking on the element instead

Wait Until Keyword Succeeds ${key\_succ\_Timeout} ${key\_succ\_Timeout-interval} Click Element //span[text()=${sReportName}] CTRL

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![\_daryl](https://avatars.discourse-cdn.com/v4/letter/_/45deac/32.png) [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Post date:** [6 February 2024 09:38 UTC](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777/2 "2024-02-06T09:38:10Z")

</div>

Hi

I believe you want keyword [Open Context Menu](https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html#Open%20Context%20Menu)

Thanks,  
Daryl

---

<div class="post-metadata">

**Author:** ![STBN03](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@STBN03](https://forum.robotframework.org/u/STBN03)\
**Post date:** [6 February 2024 15:58 UTC](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777/3 "2024-02-06T15:58:19Z")

</div>

Thank you so much!  
It worked!
