Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Burst mode * CodeFactor * Ops * cr * cr
- Loading branch information
Showing
4 changed files
with
130 additions
and
57 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
lib/PuppeteerSharp/Messaging/PageCaptureScreenshotResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PuppeteerSharp.Messaging | ||
{ | ||
internal class PageCaptureScreenshotResponse | ||
{ | ||
[JsonProperty("data")] | ||
public string Data { get; set; } | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
lib/PuppeteerSharp/Messaging/PageGetLayoutMetricsResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PuppeteerSharp.Messaging | ||
{ | ||
internal class PageGetLayoutMetricsResponse | ||
{ | ||
[JsonProperty("contentSize")] | ||
public LayourContentSize ContentSize { get; set; } | ||
|
||
public class LayourContentSize | ||
{ | ||
[JsonProperty("width")] | ||
public decimal Width { get; set; } | ||
[JsonProperty("height")] | ||
public decimal Height { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters