@testring/plugin-selenium-driver 0.6.0 → 0.6.1
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/dist/plugin/index.js +2 -2
- package/package.json +7 -7
package/dist/plugin/index.js
CHANGED
|
@@ -164,7 +164,7 @@ class SeleniumPlugin {
|
|
|
164
164
|
const seleniumJarPath = seleniumServer.path;
|
|
165
165
|
this.logger.debug('Init local selenium server');
|
|
166
166
|
try {
|
|
167
|
-
this.localSelenium = child_process_1.spawn('java', [
|
|
167
|
+
this.localSelenium = (0, child_process_1.spawn)('java', [
|
|
168
168
|
...this.getChromeDriverArgs(),
|
|
169
169
|
'-jar',
|
|
170
170
|
seleniumJarPath,
|
|
@@ -257,7 +257,7 @@ class SeleniumPlugin {
|
|
|
257
257
|
if (this.expiredBrowserClients.has(applicant)) {
|
|
258
258
|
throw Error(`This session expired in ${this.config.clientTimeout}ms`);
|
|
259
259
|
}
|
|
260
|
-
const client = yield webdriverio_1.remote(this.config);
|
|
260
|
+
const client = yield (0, webdriverio_1.remote)(this.config);
|
|
261
261
|
let sessionId;
|
|
262
262
|
if (client.sessionId) {
|
|
263
263
|
sessionId = client.sessionId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testring/plugin-selenium-driver",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "./src/index.ts",
|
|
6
6
|
"repository": {
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"author": "RingCentral",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@testring/child-process": "0.6.
|
|
14
|
-
"@testring/devtool-extension": "0.6.
|
|
15
|
-
"@testring/logger": "0.6.
|
|
16
|
-
"@testring/plugin-api": "0.6.
|
|
17
|
-
"@testring/types": "0.6.
|
|
13
|
+
"@testring/child-process": "0.6.1",
|
|
14
|
+
"@testring/devtool-extension": "0.6.1",
|
|
15
|
+
"@testring/logger": "0.6.1",
|
|
16
|
+
"@testring/plugin-api": "0.6.1",
|
|
17
|
+
"@testring/types": "0.6.1",
|
|
18
18
|
"@types/deepmerge": "2.2.0",
|
|
19
|
-
"@types/node": "
|
|
19
|
+
"@types/node": "18.11.18",
|
|
20
20
|
"chromedriver": "*",
|
|
21
21
|
"deepmerge": "4.2.2",
|
|
22
22
|
"selenium-server": "3.141.59",
|