File tree Expand file tree Collapse file tree
javascript/node/selenium-webdriver/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const cmd = require('../lib/command')
2828const input = require ( '../lib/input' )
2929const net = require ( '../net' )
3030const portprober = require ( '../net/portprober' )
31+ const logging = require ( '../lib/logging' )
3132
3233const { getJavaPath, formatSpawnArgs } = require ( './util' )
3334
@@ -119,6 +120,8 @@ class DriverService {
119120 * @param {!ServiceOptions } options Configuration options for the service.
120121 */
121122 constructor ( executable , options ) {
123+ /** @private @const */
124+ this . log_ = logging . getLogger ( 'webdriver.DriverService' )
122125 /** @private {string} */
123126 this . executable_ = executable
124127
Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ function isSelenium3x(seleniumStandalonePath) {
5151 * @returns {Array.<string> }
5252 */
5353function 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+ }
5558
5659 const standaloneArg = 'standalone'
5760 const port3xArgFormat = '-port'
You can’t perform that action at this time.
0 commit comments