Context menu / right click with selenium

There are certain scenarios where we want to perform operation on the right click menu options. let’s see the demo site https://swisnl.github.io/jQuery-contextMenu/demo.html If you right click on the “right click me” button, it exposes several options to perform, this is what we will automate using selenium. Selenium provides contextClick() which accepts the button to click…