lib/selenium/webdriver/phantomjs/service.rb in selenium-webdriver-3.4.3 vs lib/selenium/webdriver/phantomjs/service.rb in selenium-webdriver-3.4.4
- old
+ new
@@ -30,14 +30,10 @@
@missing_text = 'Unable to find phantomjs. Please download from http://phantomjs.org/download.html'.freeze
private
def start_process
- server_command = [@executable_path, "--webdriver=#{@port}", *@extra_args]
- @process = ChildProcess.build(*server_command.compact)
- WebDriver.logger.debug("Executing Process #{server_command}")
-
- @process.io.stdout = @process.io.stderr = WebDriver.logger.io
+ @process = build_process(@executable_path, "--webdriver=#{@port}", *@extra_args)
@process.start
end
def cannot_connect_error_text
"unable to connect to phantomjs @ #{uri} after #{START_TIMEOUT} seconds"