I use selenium python, and i want to get Coordinates whenever i click any point this is my code, anybody help me, how to get result in python
result = driver.execute_script(""" function clickHandler(e) { console.log(e) var clickCoordinates = e.clientX + ',' + e.clientY; console.log(clickCoordinates) return clickCoordinates } document.addEventListener('click', clickHandler); """) print(result)I want to print clickCoordinates whenever click event