We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182b466 commit 942d6d2Copy full SHA for 942d6d2
javascript/node/selenium-webdriver/net/index.js
@@ -48,6 +48,10 @@ function getAddress(loopback, opt_family) {
48
}
49
interfaces = interfaces || os.networkInterfaces();
50
for (var key in interfaces) {
51
+ if (!interfaces.hasOwnProperty(key)) {
52
+ continue;
53
+ }
54
+
55
interfaces[key].forEach(function(ipAddress) {
56
if (ipAddress.family === family &&
57
ipAddress.internal === loopback) {
0 commit comments