This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
click(x, y[, options])
Mouse clicks on the x and y coordinates. It’s a shorthand for calling
mouse.move(x, y) followed by
mouse.down() and
mouse.up(). This is useful for simulating a single mouse click.


