-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Some progress * More progress * more progress * More progress * Docs changes * Library builds * More progress * Solution builds * Docs changes * format * It seems that the demo runs * Fix expectation loading * Fix accessibility tests * Fix tests using json * Docs changes * Fix aria tests and RemoteObject type checks * Fix more accessibility steps and chrome version checker * more json fixes * Fix enum parser * Fix page event test * fix bounding box * Fix CSS Coverage Test * Fix console tests * Docs changes * Add enum member to MouseButton * Improve enums * Fix tracing tests * Fix JS coverage tests * Fix json tests * Fix SetUserAgentTests * Fix QueryAllTests * Fix security details * Fix keyboard tests * Fix ResponseJsonTests * Fix ElementHandleScreenshotTests * Some early review * Internal sealed converters * fix condition * Make visible to the Nunit project * Fix touch tests * Fix JS Coverage tests * Fix screenshot rounding * Fix evaluate with nulls * Fix evaluation exceptions * Fix complex objects test * Fix JS Handle validation * Fix complex object tests * Remove Mock verbosity * Fix wait for frame * Fix console logs * Fix PageWorkerTests * Convert context id in Firefox * Flag beta version * Restore some json config * undo a change * We don't need this * AOT Support! * Remove extra types * Small .NET framework test * Test AOT * AOT only on net8.0 * .NET Framework does not like generic attributes * remove remaining newtonsoft * remove unused imports * Docs changes * some styles * internal sealed * Include System.Text.Json only for net standard * remove extra constructor * Update lib/PuppeteerSharp/Helpers/Json/AnyTypeToStringConverter.cs Co-authored-by: Jonas Nyrup <[email protected]> * cr * cr * Way too generic serializing attribute * Update lib/PuppeteerSharp.Nunit/PuppeteerTestAttribute.cs Co-authored-by: campersau <[email protected]> * Improve serialization * Add more types * rollback AOT by default * AOT tests * Docs changes * beta2 * Revert "AOT tests" This reverts commit 0d94b1b. * You can't AOT a test * Docs changes * Add AOT demo --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: Jonas Nyrup <[email protected]> Co-authored-by: campersau <[email protected]>
- Loading branch information
1 parent
c4c67db
commit e8eac9a
Showing
264 changed files
with
1,433 additions
and
1,119 deletions.
There are no files selected for viewing
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
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
8 changes: 5 additions & 3 deletions
8
demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace PuppeteerSharp.DevicesFetcher | ||
{ | ||
public class Device | ||
{ | ||
[JsonProperty("userAgent")] | ||
[JsonPropertyName("userAgent")] | ||
public string UserAgent { get; set; } | ||
[JsonProperty("name")] | ||
[JsonPropertyName("name")] | ||
public string Name { get; set; } | ||
[JsonProperty("viewport")] | ||
[JsonPropertyName("viewport")] | ||
public ViewPort Viewport { 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
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace PuppeteerSharp.DevicesFetcher | ||
{ | ||
public class ViewPort | ||
{ | ||
[JsonProperty("width")] | ||
[JsonPropertyName("width")] | ||
public int Width { get; set; } | ||
[JsonProperty("height")] | ||
[JsonPropertyName("height")] | ||
public int Height { get; set; } | ||
|
||
[JsonProperty("deviceScaleFactor")] | ||
[JsonPropertyName("deviceScaleFactor")] | ||
public double DeviceScaleFactor { get; set; } | ||
|
||
[JsonProperty("isMobile")] | ||
[JsonPropertyName("isMobile")] | ||
public bool IsMobile { get; set; } | ||
[JsonProperty("hasTouch")] | ||
[JsonPropertyName("hasTouch")] | ||
public bool HasTouch { get; set; } | ||
[JsonProperty("isLandscape")] | ||
[JsonPropertyName("isLandscape")] | ||
public bool IsLandscape { 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
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
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
Oops, something went wrong.