lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-3.9.0 vs lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-3.10.0
- old
+ new
@@ -34,10 +34,10 @@
server.close
port
end
- IGNORED_ERRORS = [Errno::EADDRNOTAVAIL]
+ IGNORED_ERRORS = [Errno::EADDRNOTAVAIL, Errno::EAFNOSUPPORT]
IGNORED_ERRORS << Errno::EBADF if Platform.cygwin?
IGNORED_ERRORS << Errno::EACCES if Platform.windows?
IGNORED_ERRORS.freeze
def self.free?(port)