Skip to content

Commit

Permalink
Make Page.EmulateCPUThrottlingAsync public (hardkoded#1868)
Browse files Browse the repository at this point in the history
Currently it's internal and only accessible via the Test project
  • Loading branch information
amaitland authored Nov 11, 2021
1 parent d8326e0 commit 739a1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PuppeteerSharp/Page.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ public async Task EmulateTimezoneAsync(string timezoneId)
/// </summary>
/// <param name="factor">Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).</param>
/// <returns>A task that resolves when the message has been sent to the browser.</returns>
internal Task EmulateCPUThrottlingAsync(decimal? factor = null)
public Task EmulateCPUThrottlingAsync(decimal? factor = null)
{
if (factor != null && factor < 1)
{
Expand Down

0 comments on commit 739a1d0

Please sign in to comment.