MCPcopy Index your code
hub / github.com/microsoft/playwright-python / dblclick

Method dblclick

playwright/async_api/_generated.py:1736–1763  ·  view source on GitHub ↗

Mouse.dblclick Shortcut for `mouse.move()`, `mouse.down()`, `mouse.up()`, `mouse.down()` and `mouse.up()`. Parameters ---------- x : float X coordinate relative to the main frame's viewport in CSS pixels. y : float Y coordinat

(
        self,
        x: float,
        y: float,
        *,
        delay: typing.Optional[float] = None,
        button: typing.Optional[Literal["left", "middle", "right"]] = None,
    )

Source from the content-addressed store, hash-verified

1734 )
1735
1736 async def dblclick(
1737 self,
1738 x: float,
1739 y: float,
1740 *,
1741 delay: typing.Optional[float] = None,
1742 button: typing.Optional[Literal["left", "middle", "right"]] = None,
1743 ) -> None:
1744 """Mouse.dblclick
1745
1746 Shortcut for `mouse.move()`, `mouse.down()`, `mouse.up()`, `mouse.down()` and
1747 `mouse.up()`.
1748
1749 Parameters
1750 ----------
1751 x : float
1752 X coordinate relative to the main frame's viewport in CSS pixels.
1753 y : float
1754 Y coordinate relative to the main frame's viewport in CSS pixels.
1755 delay : Union[float, None]
1756 Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0.
1757 button : Union["left", "middle", "right", None]
1758 Defaults to `left`.
1759 """
1760
1761 return mapping.from_maybe_impl(
1762 await self._impl_obj.dblclick(x=x, y=y, delay=delay, button=button)
1763 )
1764
1765 async def wheel(self, delta_x: float, delta_y: float) -> None:
1766 """Mouse.wheel

Callers

nothing calls this directly

Calls 2

from_maybe_implMethod · 0.80
dblclickMethod · 0.45

Tested by

no test coverage detected