File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -165,12 +165,14 @@ class IntegrationTests {
165165 // we want all coroutines to finish before we close the browser session
166166 withContext(Dispatchers .IO ) {
167167 repeat(4 ) {
168- browser.newPage().use { page ->
169- page.goto(" http://www.google.com" )
170- page.runtime.getHeapUsage()
171- val docRoot = page.dom.getDocumentRootNodeId()
172- page.dom.describeNode(DescribeNodeRequest (docRoot, depth = 2 ))
173- page.storage.getCookies()
168+ launch {
169+ browser.newPage().use { page ->
170+ page.goto(" http://www.google.com" )
171+ page.runtime.getHeapUsage()
172+ val docRoot = page.dom.getDocumentRootNodeId()
173+ page.dom.describeNode(DescribeNodeRequest (docRoot, depth = 2 ))
174+ page.storage.getCookies()
175+ }
174176 }
175177 }
176178 }
You can’t perform that action at this time.
0 commit comments