puppeteer/new-docs/puppeteer.protocol.emulation.displayfeature.md
Maksim Sadym 62ac167339
feat(chromium): roll Chromium to r800071 (#6407)
* roll Chromium to version 86, r800071
* roll Chrome DevTools protocol version to 0.0.799653
* fix HTTPRequest.continue after
  * CDP: accept post data in the binary form in Fetch.continueRequest.
    https://chromium-review.googlesource.com/c/chromium/src/+/2315239
* update new-docs
2020-09-09 21:23:46 +02:00

1.3 KiB

Home > puppeteer > Protocol > Emulation > DisplayFeature

Protocol.Emulation.DisplayFeature interface

Signature:

export interface DisplayFeature 

Properties

Property Type Description
maskLength integer A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.
offset integer The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.
orientation ('vertical' | 'horizontal') Orientation of a display feature in relation to screen (DisplayFeatureOrientation enum)