Mouse
Playwright\Input\MouseInterface
Sends mouse input to a page. Coordinates are relative to the page viewport. Options control buttons, click counts, and event timing.
Methods
click()
voidfunction click(float $x, float $y, array $options = []): void
dblclick()
voidfunction dblclick(float $x, float $y, array $options = []): void
down()
voidfunction down(array $options = []): void
move()
voidfunction move(float $x, float $y, array $options = []): void
up()
voidfunction up(array $options = []): void
wheel()
voidfunction wheel(float $deltaX, float $deltaY): void