lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-3.5.2 vs lib/selenium/webdriver/common/port_prober.rb in selenium-webdriver-3.6.0
- old
+ new
@@ -38,9 +38,10 @@
port
end
IGNORED_ERRORS = [Errno::EADDRNOTAVAIL]
IGNORED_ERRORS << Errno::EBADF if Platform.cygwin?
+ IGNORED_ERRORS << Errno::EACCES if Platform.windows?
IGNORED_ERRORS.freeze
def self.free?(port)
Platform.interfaces.each do |host|
begin