Skip to content

Commit 0f1d4a4

Browse files
committed
fix
1 parent 51b051a commit 0f1d4a4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/PuppeteerSharp.Tests/JSHandleTests/ClickablePointTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ namespace PuppeteerSharp.Tests.JSHandleTests
66
{
77
public class ClickablePointTests : PuppeteerPageBaseTest
88
{
9-
public ClickablePointTests() : base()
10-
{
11-
}
12-
139
[Test, PuppeteerTest("jshandle.spec", "JSHandle JSHandle.clickablePoint", "should work")]
1410
public async Task ShouldWork()
1511
{

lib/PuppeteerSharp/Bidi/BidiFrame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class BidiFrame : Frame
4040

4141
internal BidiFrame(BidiPage parentPage, BidiFrame parentFrame, BrowsingContext browsingContext)
4242
{
43-
Client = new BidiCdpSession(this, parentPage.BidiBrowser.LoggerFactory);
43+
Client = new BidiCdpSession(this, parentPage?.BidiBrowser?.LoggerFactory ?? parentFrame?.BidiPage?.BidiBrowser?.LoggerFactory);
4444
ParentPage = parentPage;
4545
ParentFrame = parentFrame;
4646
BrowsingContext = browsingContext;

0 commit comments

Comments
 (0)