@@ -85,7 +85,7 @@ public void ShouldRespectTimeout()
8585 var client = new MockCDPSession ( ) ;
8686 var timeoutSettings = new TimeoutSettings ( ) ;
8787 var manager = new DeviceRequestPromptManager ( client , timeoutSettings ) ;
88- Assert . ThrowsAsync < TimeoutException > ( ( ) => manager . WaitForDevicePromptAsync ( new WaitTimeoutOptions ( 1 ) ) ) ;
88+ Assert . ThrowsAsync < TimeoutException > ( ( ) => manager . WaitForDevicePromptAsync ( new WaitForOptions ( 1 ) ) ) ;
8989 }
9090
9191 [ PuppeteerTest ( "DeviceRequestPrompt.test.ts" , "waitForDevicePrompt" , "should respect default timeout when there is no custom timeout" ) ]
@@ -107,7 +107,7 @@ public void ShouldPrioritizeExactTimeoutOverDefaultTimeout()
107107 var timeoutSettings = new TimeoutSettings ( ) ;
108108 var manager = new DeviceRequestPromptManager ( client , timeoutSettings ) ;
109109 timeoutSettings . Timeout = 0 ;
110- Assert . ThrowsAsync < TimeoutException > ( ( ) => manager . WaitForDevicePromptAsync ( new WaitTimeoutOptions ( 1 ) ) ) ;
110+ Assert . ThrowsAsync < TimeoutException > ( ( ) => manager . WaitForDevicePromptAsync ( new WaitForOptions ( 1 ) ) ) ;
111111 }
112112
113113 [ PuppeteerTest ( "DeviceRequestPrompt.test.ts" , "waitForDevicePrompt" , "should work with no timeout" ) ]
@@ -117,7 +117,7 @@ public async Task ShouldWorkWithNoTimeout()
117117 var client = new MockCDPSession ( ) ;
118118 var timeoutSettings = new TimeoutSettings ( ) ;
119119 var manager = new DeviceRequestPromptManager ( client , timeoutSettings ) ;
120- var promptTask = manager . WaitForDevicePromptAsync ( new WaitTimeoutOptions ( 0 ) ) ;
120+ var promptTask = manager . WaitForDevicePromptAsync ( new WaitForOptions ( 0 ) ) ;
121121 var promptData = new DeviceAccessDeviceRequestPromptedResponse ( )
122122 {
123123 Id = "00000000000000000000000000000000" ,
0 commit comments