File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
PuppeteerSharp.Tests/Issues Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . AspNetCore . Http ;
2+ using System ;
3+ using System . Collections . Generic ;
4+ using System . IO ;
5+ using System . Linq ;
6+ using System . Net ;
7+ using System . Net . Http ;
8+ using System . Text ;
9+ using System . Threading . Tasks ;
10+ using Xunit ;
11+ using Xunit . Abstractions ;
12+
13+ namespace PuppeteerSharp . Tests . Issues
14+ {
15+ [ Collection ( "PuppeteerLoaderFixture collection" ) ]
16+ public class Issue0648 : PuppeteerPageBaseTest
17+ {
18+ public Issue0648 ( ITestOutputHelper output ) : base ( output )
19+ {
20+ }
21+
22+ [ Fact ]
23+ public async Task ShouldWork ( )
24+ {
25+ await Page . SetRequestInterceptionAsync ( true ) ;
26+ Page . Request += async ( sender , e ) => await e . Request . ContinueAsync ( ) ;
27+ await Page . GoToAsync ( "https://www.google.com/search?q=firewall&oq=firewall&ie=UTF-8" ) ;
28+ }
29+ }
30+ }
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ public enum ResourceType
6464 /// </summary>
6565 Manifest ,
6666 /// <summary>
67+ /// Ping.
68+ /// </summary>
69+ Ping ,
70+ /// <summary>
6771 /// Other.
6872 /// </summary>
6973 Other
You can’t perform that action at this time.
0 commit comments