File tree 2 files changed +7
-1
lines changed
javascript/node/selenium-webdriver/remote
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const cmd = require('../lib/command')
28
28
const input = require ( '../lib/input' )
29
29
const net = require ( '../net' )
30
30
const portprober = require ( '../net/portprober' )
31
+ const logging = require ( '../lib/logging' )
31
32
32
33
const { getJavaPath, formatSpawnArgs } = require ( './util' )
33
34
@@ -119,6 +120,8 @@ class DriverService {
119
120
* @param {!ServiceOptions } options Configuration options for the service.
120
121
*/
121
122
constructor ( executable , options ) {
123
+ /** @private @const */
124
+ this . log_ = logging . getLogger ( 'webdriver.DriverService' )
122
125
/** @private {string} */
123
126
this . executable_ = executable
124
127
Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ function isSelenium3x(seleniumStandalonePath) {
51
51
* @returns {Array.<string> }
52
52
*/
53
53
function formatSpawnArgs ( seleniumStandalonePath , args ) {
54
- if ( isSelenium3x ( seleniumStandalonePath ) ) return args
54
+ if ( isSelenium3x ( seleniumStandalonePath ) ) {
55
+ console . warn ( 'Deprecation: Support for Standalone Server 3.x will be removed soon. Please update to version 4.x' )
56
+ return args
57
+ }
55
58
56
59
const standaloneArg = 'standalone'
57
60
const port3xArgFormat = '-port'
You can’t perform that action at this time.
0 commit comments