Commit b53bec7
Fix browser hanging during cleanup by not waiting for browser.close() to complete (#5319)
* Initial plan
* Fix test hang issue when restart: false by properly mapping to context restart
Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>
* Fix browser close hanging by ensuring all pages and contexts are closed first
Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>
* Don't wait for browser.close() to prevent hanging - fire and forget approach
Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>1 parent c21bfa6 commit b53bec7
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| 1392 | + | |
1392 | 1393 | | |
1393 | 1394 | | |
1394 | 1395 | | |
| |||
1398 | 1399 | | |
1399 | 1400 | | |
1400 | 1401 | | |
| 1402 | + | |
| 1403 | + | |
1401 | 1404 | | |
1402 | 1405 | | |
1403 | | - | |
1404 | | - | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1405 | 1410 | | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
| 1411 | + | |
1411 | 1412 | | |
1412 | 1413 | | |
1413 | 1414 | | |
| |||
0 commit comments