TestProject Forum

Can you create an action to validate a cursor's existence when you click a field?

I’ve tried this unsuccessfully, but figured I’d ask before giving up. Is there a way to validate a cursor being visible in a specific location when you click a field?

Hi @MGarcia
You can use the execute JavaScript action with this code to get the curser x and y position

document.onmousemove = function(event) {
	pointerX = event.pageX;
	pointerY = event.pageY;
return  pointerX+', '+pointerY

Please let me know if that solved your issue.