Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
playwright.async_api._generated.Touchscreen Class Reference
Inheritance diagram for playwright.async_api._generated.Touchscreen:
Inheritance graph
[legend]
Collaboration diagram for playwright.async_api._generated.Touchscreen:
Collaboration graph
[legend]

Public Member Functions

None tap (self, float x, float y)
 
- Public Member Functions inherited from playwright._impl._async_base.AsyncBase
None __init__ (self, Any impl_obj)
 
str __str__ (self)
 
None on (self, Any event, Any f)
 
None once (self, Any event, Any f)
 
None remove_listener (self, Any event, Any f)
 
- Public Member Functions inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
str __repr__ (self)
 

Additional Inherited Members

- Protected Member Functions inherited from playwright._impl._async_base.AsyncBase
Callable[..., None] _wrap_handler (self, Union[Callable[..., Any], Any] handler)
 
- Protected Attributes inherited from playwright._impl._async_base.AsyncBase
 _loop
 
- Protected Attributes inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
 _impl_obj
 

Member Function Documentation

◆ tap()

None playwright.async_api._generated.Touchscreen.tap (   self,
float  x,
float  y 
)
Touchscreen.tap

Dispatches a `touchstart` and `touchend` event with a single touch at the position (`x`,`y`).

**NOTE** `page.tap()` the method will throw if `hasTouch` option of the browser context is false.

Parameters
----------
x : float
    X coordinate relative to the main frame's viewport in CSS pixels.
y : float
    Y coordinate relative to the main frame's viewport in CSS pixels.

The documentation for this class was generated from the following file: