Here I’m trying to record a click path workflow, able to record but not successfully playback the recorded events, facing an issue at right click event. I guess JavaScript event help us to resolve this, but I’m not supposed to be done this before.
Can anyone help me with example please?
Hello @chaitanya ,
If you have already created the clickpath. Then select the particular browser monitoring --> from top edit --> click on recorded clickpath --> give appropriate name --> from dropdown event type select javascript --> select the number after the event page where right-click event need to be added --> then use below script for right click (from internet)
<script>
const div = document.getElementById(“myDiv”);
div.addEventListener(“contextmenu”, (e) => {e.preventDefault()});
</script>