Skip to content

Commit 739a1d0

Browse files
authored
Make Page.EmulateCPUThrottlingAsync public (#1868)
Currently it's internal and only accessible via the Test project
1 parent d8326e0 commit 739a1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PuppeteerSharp/Page.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,7 +1936,7 @@ public async Task EmulateTimezoneAsync(string timezoneId)
19361936
/// </summary>
19371937
/// <param name="factor">Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).</param>
19381938
/// <returns>A task that resolves when the message has been sent to the browser.</returns>
1939-
internal Task EmulateCPUThrottlingAsync(decimal? factor = null)
1939+
public Task EmulateCPUThrottlingAsync(decimal? factor = null)
19401940
{
19411941
if (factor != null && factor < 1)
19421942
{

0 commit comments

Comments
 (0)