puppeteer/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.y.md

14 lines
678 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; [Protocol](./puppeteer.protocol.md) &gt; [Input](./puppeteer.protocol.input.md) &gt; [DispatchMouseEventRequest](./puppeteer.protocol.input.dispatchmouseeventrequest.md) &gt; [y](./puppeteer.protocol.input.dispatchmouseeventrequest.y.md)
## Protocol.Input.DispatchMouseEventRequest.y property
Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
<b>Signature:</b>
```typescript
y: number;
```