@@ -18,8 +18,8 @@ public class DevToolsPerformanceTest : DevToolsTestFixture
1818 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
1919 public async Task EnableAndDisablePerformance ( )
2020 {
21- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
22- await domains . Performance . Enable ( new V100 . Performance . EnableCommandSettings ( ) ) ;
21+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
22+ await domains . Performance . Enable ( new V101 . Performance . EnableCommandSettings ( ) ) ;
2323 driver . Url = simpleTestPage ;
2424 await domains . Performance . Disable ( ) ;
2525 }
@@ -31,7 +31,7 @@ public async Task EnableAndDisablePerformance()
3131 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
3232 public async Task DisablePerformance ( )
3333 {
34- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
34+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
3535 await domains . Performance . Disable ( ) ;
3636 driver . Url = simpleTestPage ;
3737 await domains . Performance . Disable ( ) ;
@@ -44,13 +44,13 @@ public async Task DisablePerformance()
4444 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
4545 public async Task SetTimeDomainTimeTickPerformance ( )
4646 {
47- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
47+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
4848 await domains . Performance . Disable ( ) ;
49- await domains . Performance . SetTimeDomain ( new V100 . Performance . SetTimeDomainCommandSettings ( )
49+ await domains . Performance . SetTimeDomain ( new V101 . Performance . SetTimeDomainCommandSettings ( )
5050 {
5151 TimeDomain = "timeTicks"
5252 } ) ;
53- await domains . Performance . Enable ( new V100 . Performance . EnableCommandSettings ( ) ) ;
53+ await domains . Performance . Enable ( new V101 . Performance . EnableCommandSettings ( ) ) ;
5454 driver . Url = simpleTestPage ;
5555 await domains . Performance . Disable ( ) ;
5656 }
@@ -62,13 +62,13 @@ await domains.Performance.SetTimeDomain(new V100.Performance.SetTimeDomainComman
6262 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
6363 public async Task SetTimeDomainsThreadTicksPerformance ( )
6464 {
65- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
65+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
6666 await domains . Performance . Disable ( ) ;
67- await domains . Performance . SetTimeDomain ( new V100 . Performance . SetTimeDomainCommandSettings ( )
67+ await domains . Performance . SetTimeDomain ( new V101 . Performance . SetTimeDomainCommandSettings ( )
6868 {
6969 TimeDomain = "threadTicks"
7070 } ) ;
71- await domains . Performance . Enable ( new V100 . Performance . EnableCommandSettings ( ) ) ;
71+ await domains . Performance . Enable ( new V101 . Performance . EnableCommandSettings ( ) ) ;
7272 driver . Url = simpleTestPage ;
7373 await domains . Performance . Disable ( ) ;
7474 }
@@ -80,12 +80,12 @@ await domains.Performance.SetTimeDomain(new V100.Performance.SetTimeDomainComman
8080 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
8181 public async Task GetMetricsByTimeTicks ( )
8282 {
83- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
84- await domains . Performance . SetTimeDomain ( new V100 . Performance . SetTimeDomainCommandSettings ( )
83+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
84+ await domains . Performance . SetTimeDomain ( new V101 . Performance . SetTimeDomainCommandSettings ( )
8585 {
8686 TimeDomain = "timeTicks"
8787 } ) ;
88- await domains . Performance . Enable ( new V100 . Performance . EnableCommandSettings ( ) ) ;
88+ await domains . Performance . Enable ( new V101 . Performance . EnableCommandSettings ( ) ) ;
8989 driver . Url = simpleTestPage ;
9090 var response = await domains . Performance . GetMetrics ( ) ;
9191 var metrics = response . Metrics ;
@@ -101,12 +101,12 @@ await domains.Performance.SetTimeDomain(new V100.Performance.SetTimeDomainComman
101101 [ IgnoreBrowser ( Selenium . Browser . Safari , "Safari does not support Chrome DevTools Protocol" ) ]
102102 public async Task GetMetricsByThreadTicks ( )
103103 {
104- var domains = session . GetVersionSpecificDomains < V100 . DevToolsSessionDomains > ( ) ;
105- await domains . Performance . SetTimeDomain ( new V100 . Performance . SetTimeDomainCommandSettings ( )
104+ var domains = session . GetVersionSpecificDomains < V101 . DevToolsSessionDomains > ( ) ;
105+ await domains . Performance . SetTimeDomain ( new V101 . Performance . SetTimeDomainCommandSettings ( )
106106 {
107107 TimeDomain = "threadTicks"
108108 } ) ;
109- await domains . Performance . Enable ( new V100 . Performance . EnableCommandSettings ( ) ) ;
109+ await domains . Performance . Enable ( new V101 . Performance . EnableCommandSettings ( ) ) ;
110110 driver . Url = simpleTestPage ;
111111 var response = await domains . Performance . GetMetrics ( ) ;
112112 var metrics = response . Metrics ;
0 commit comments