selenium-webdriver 4.9.1 → 4.9.2
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/CHANGES.md +10 -4
- package/io/exec.js +5 -1
- package/package.json +1 -2
package/CHANGES.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## v4.9.2
|
|
2
|
+
|
|
3
|
+
#### :nail_care: Polish
|
|
4
|
+
|
|
5
|
+
* Handle rejection of the driver if not found
|
|
6
|
+
|
|
1
7
|
## v4.9.1
|
|
2
8
|
|
|
3
9
|
#### :nail_care: Polish
|
|
@@ -76,7 +82,7 @@ fix: iedriver download with selenium-manager #11579
|
|
|
76
82
|
|
|
77
83
|
#### Committers: 1
|
|
78
84
|
|
|
79
|
-
|
|
85
|
+
* Potapov Dmitriy ([@potapovDim](https://github.com/potapovDim))
|
|
80
86
|
|
|
81
87
|
## v4.7.0
|
|
82
88
|
|
|
@@ -97,7 +103,7 @@ fix: iedriver download with selenium-manager #11579
|
|
|
97
103
|
|
|
98
104
|
#### :nail_care: Polish
|
|
99
105
|
|
|
100
|
-
* Fix typos (#11258)
|
|
106
|
+
* Fix typos (#11258)
|
|
101
107
|
|
|
102
108
|
## v4.6.0
|
|
103
109
|
|
|
@@ -152,11 +158,12 @@ fix: iedriver download with selenium-manager #11579
|
|
|
152
158
|
* destructuring exports
|
|
153
159
|
* Moving from static to const to make js-dossier happy
|
|
154
160
|
* Removing circular dependency Between webdriver.js and http.js
|
|
155
|
-
* fix some typos in code and documentation
|
|
161
|
+
* fix some typos in code and documentation
|
|
156
162
|
* add cdp v105 remove v102
|
|
157
163
|
* add cdp v106 remove v103
|
|
158
164
|
|
|
159
165
|
## v4.4.0
|
|
166
|
+
|
|
160
167
|
* Add support CDP 104 and remove CDP 101
|
|
161
168
|
|
|
162
169
|
## v4.3.1
|
|
@@ -1287,4 +1294,3 @@ major version release (i.e. 1.0.0).
|
|
|
1287
1294
|
* Initial release for npm:
|
|
1288
1295
|
|
|
1289
1296
|
npm install selenium-webdriver
|
|
1290
|
-
|
package/io/exec.js
CHANGED
|
@@ -134,12 +134,16 @@ function exec(command, opt_options) {
|
|
|
134
134
|
proc.unref()
|
|
135
135
|
process.once('exit', onProcessExit)
|
|
136
136
|
|
|
137
|
-
const result = new Promise((resolve) => {
|
|
137
|
+
const result = new Promise((resolve, reject) => {
|
|
138
138
|
proc.once('exit', (code, signal) => {
|
|
139
139
|
proc = null
|
|
140
140
|
process.removeListener('exit', onProcessExit)
|
|
141
141
|
resolve(new Result(code, signal))
|
|
142
142
|
})
|
|
143
|
+
|
|
144
|
+
proc.once('error', err => {
|
|
145
|
+
reject(err);
|
|
146
|
+
})
|
|
143
147
|
})
|
|
144
148
|
return new Command(result, killCommand)
|
|
145
149
|
|