graceful-playwright 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core.js +1 -0
- package/package.json +4 -2
package/core.js
CHANGED
|
@@ -55,6 +55,7 @@ class GracefulPage {
|
|
|
55
55
|
/Timeout [\w]+ exceeded/.test(message) ||
|
|
56
56
|
message.includes('ERR_NETWORK_CHANGED') ||
|
|
57
57
|
message.includes('ERR_CONNECTION_RESET') ||
|
|
58
|
+
message.includes('ERR_SOCKET_NOT_CONNECTED') ||
|
|
58
59
|
message.includes('ERR_ABORTED'),
|
|
59
60
|
restart: /page crashed/i.test(message),
|
|
60
61
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graceful-playwright",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Gracefully handle timeout and network error with auto retry.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graceful",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"errors",
|
|
11
11
|
"handling",
|
|
12
12
|
"timeout",
|
|
13
|
-
"
|
|
13
|
+
"ERR_NETWORK",
|
|
14
|
+
"ERR_CONNECTION",
|
|
15
|
+
"ERR_SOCKET",
|
|
14
16
|
"page",
|
|
15
17
|
"crashed",
|
|
16
18
|
"goto",
|