Is there any way to click an element by coordinates in a website using the console? I know i can use element.click() but i need to use it with coordinates. Something like:
Window.click(234,456)
Is there any way to click an element by coordinates in a website using the console? I know i can use element.click() but i need to use it with coordinates. Something like:
Window.click(234,456)
You can simulate a click event like this:
document.elementFromPoint(x, y).click();
But this isn't the same as clicking normally.
Documentation here.