puppeteer/new-docs/puppeteer.touchscreen._constructor_.md

22 lines
626 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Touchscreen](./puppeteer.touchscreen.md) &gt; [(constructor)](./puppeteer.touchscreen._constructor_.md)
## Touchscreen.(constructor)
Constructs a new instance of the `Touchscreen` class
<b>Signature:</b>
```typescript
constructor(client: CDPSession, keyboard: Keyboard);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| client | [CDPSession](./puppeteer.cdpsession.md) | |
| keyboard | [Keyboard](./puppeteer.keyboard.md) | |