Skip to content

Commit dcaf6bb

Browse files
Meir017kblok
authored andcommitted
Implement Page.evaluateHandle tests (#188)
1 parent 6f5cf6e commit dcaf6bb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Threading.Tasks;
2+
using Xunit;
3+
4+
namespace PuppeteerSharp.Tests.Page
5+
{
6+
[Collection("PuppeteerLoaderFixture collection")]
7+
public class EvaluateHandleTests : PuppeteerPageBaseTest
8+
{
9+
[Fact]
10+
public async Task ShouldWork()
11+
{
12+
var windowHandle = await Page.EvaluateExpressionHandleAsync("window");
13+
Assert.NotNull(windowHandle);
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)