lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-4.9.0 vs lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-4.9.1
- old
+ new
@@ -32,10 +32,10 @@
def self.free?(port)
Platform.interfaces.each do |host|
TCPServer.new(host, port).close
rescue *IGNORED_ERRORS => e
- WebDriver.logger.debug("port prober could not bind to #{host}:#{port} (#{e.message})")
+ WebDriver.logger.debug("port prober could not bind to #{host}:#{port} (#{e.message})", id: :driver_service)
# ignored - some machines appear unable to bind to some of their interfaces
end
true
rescue SocketError, Errno::EADDRINUSE