File tree 1 file changed +2
-2
lines changed
examples/javascript/test/bidirectional
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
const assert = require ( "assert" ) ;
2
2
const firefox = require ( 'selenium-webdriver/firefox' ) ;
3
- const Network = require ( "selenium-webdriver/bidi/network" ) ;
3
+ const { Network } = require ( "selenium-webdriver/bidi/network" ) ;
4
4
const { until, Builder} = require ( "selenium-webdriver" ) ;
5
5
6
6
@@ -76,7 +76,7 @@ describe('Network events', function () {
76
76
assert . equal ( beforeRequestEvent [ 0 ] . request . method , 'GET' )
77
77
assert ( beforeRequestEvent [ 0 ] . request . url . includes ( 'redirected_http_equiv.html' ) )
78
78
assert . equal ( beforeRequestEvent [ 2 ] . request . method , 'GET' )
79
- assert ( beforeRequestEvent [ 2 ] . request . url . includes ( 'redirected.html' ) )
79
+ assert ( beforeRequestEvent [ 3 ] . request . url . includes ( 'redirected.html' ) )
80
80
} )
81
81
82
82
it ( 'can subscribe to response started' , async function ( ) {
You can’t perform that action at this time.
0 commit comments