@@ -480,7 +480,7 @@ public async Task InvokeJavaScriptMethodThatThrowsTypedNumber(string type)
480480 public Task RequestsCanBeInterceptedAndCustomDataReturnedForCustomSchemes ( ) =>
481481 RunTest ( async ( hybridWebView ) =>
482482 {
483- hybridWebView . HybridWebViewWebResourceRequestedEventArgs += ( sender , e ) =>
483+ hybridWebView . WebResourceRequested += ( sender , e ) =>
484484 {
485485 if ( new Uri ( "app://echoservice/" ) . IsBaseOf ( e . RequestUri ) )
486486 {
@@ -549,7 +549,7 @@ public Task RequestsCanBeInterceptedAndCustomDataReturnedForCustomSchemes() =>
549549 public Task RequestsCanBeInterceptedAndCustomDataReturned ( ) =>
550550 RunTest ( async ( hybridWebView ) =>
551551 {
552- hybridWebView . HybridWebViewWebResourceRequestedEventArgs += ( sender , e ) =>
552+ hybridWebView . WebResourceRequested += ( sender , e ) =>
553553 {
554554 if ( new Uri ( "https://echo.free.beeceptor.com" ) . IsBaseOf ( e . RequestUri ) )
555555 {
@@ -653,7 +653,7 @@ public Task RequestsCanBeInterceptedAndHeadersAdded() =>
653653 {
654654 const string ExpectedHeaderValue = "My Header Value" ;
655655
656- hybridWebView . HybridWebViewWebResourceRequestedEventArgs += ( sender , e ) =>
656+ hybridWebView . WebResourceRequested += ( sender , e ) =>
657657 {
658658 if ( new Uri ( "https://echo.free.beeceptor.com" ) . IsBaseOf ( e . RequestUri ) )
659659 {
@@ -746,7 +746,7 @@ public Task RequestsCanBeInterceptedAndHeadersAdded() =>
746746 public Task RequestsCanBeInterceptedAndCancelledForCustomSchemes ( ) =>
747747 RunTest ( async ( hybridWebView ) =>
748748 {
749- hybridWebView . HybridWebViewWebResourceRequestedEventArgs += ( sender , e ) =>
749+ hybridWebView . WebResourceRequested += ( sender , e ) =>
750750 {
751751 if ( new Uri ( "app://echoservice/" ) . IsBaseOf ( e . RequestUri ) )
752752 {
@@ -785,7 +785,7 @@ await Assert.ThrowsAsync<HybridWebViewInvokeJavaScriptException>(() =>
785785 public Task RequestsCanBeInterceptedAndCancelled ( ) =>
786786 RunTest ( async ( hybridWebView ) =>
787787 {
788- hybridWebView . HybridWebViewWebResourceRequestedEventArgs += ( sender , e ) =>
788+ hybridWebView . WebResourceRequested += ( sender , e ) =>
789789 {
790790 if ( new Uri ( "https://echo.free.beeceptor.com" ) . IsBaseOf ( e . RequestUri ) )
791791 {
0 commit comments