Commit 82a57ef
authored
fix: The 'WebSocket connection closed' error on Chrome 130 (#8297)
<!--
Thank you for your contribution.
Before making a PR, please read our contributing guidelines at
https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution
We recommend creating a *draft* PR, so that you can mark it as 'ready
for review' when you are done.
-->
## Purpose
When requesting active tabs in Chrome 130.0.6723.6, a chrome-extension
tab is included in the list. A CDP client is created based on this tab,
but the tab gets closed, which results in the error.
## Approach
Excluded tabs with `^chrome-extension` URLs from the list of tabs.
## References
closes #8286
## Pre-Merge TODO
- [ ] Write tests for your proposed changes
- [ ] Make sure that existing tests do not fail1 parent 051ee10 commit 82a57ef
File tree
1 file changed
+7
-1
lines changed- src/browser/provider/built-in/dedicated/chrome/cdp-client
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
8 | | - | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
0 commit comments