@wdio/utils
Advanced tools
Comparing version 8.40.0 to 8.40.2
@@ -88,3 +88,3 @@ /** | ||
}; | ||
export declare const DEFAULT_HOSTNAME = "0.0.0.0"; | ||
export declare const DEFAULT_HOSTNAME = "127.0.0.1"; | ||
export declare const DEFAULT_PROTOCOL = "http"; | ||
@@ -91,0 +91,0 @@ export declare const DEFAULT_PATH = "/"; |
@@ -88,3 +88,3 @@ /** | ||
}; | ||
export const DEFAULT_HOSTNAME = '0.0.0.0'; | ||
export const DEFAULT_HOSTNAME = '127.0.0.1'; | ||
export const DEFAULT_PROTOCOL = 'http'; | ||
@@ -91,0 +91,0 @@ export const DEFAULT_PATH = '/'; |
@@ -15,3 +15,3 @@ import fs from 'node:fs'; | ||
import { isChrome, isFirefox, isEdge, isSafari, isAppiumCapability } from '../utils.js'; | ||
import { SUPPORTED_BROWSERNAMES } from '../constants.js'; | ||
import { DEFAULT_HOSTNAME, SUPPORTED_BROWSERNAMES } from '../constants.js'; | ||
const log = logger('@wdio/utils'); | ||
@@ -24,3 +24,3 @@ const DRIVER_WAIT_TIMEOUT = 10 * 1000; // 10s | ||
if (process.env.WDIO_SKIP_DRIVER_SETUP) { | ||
options.hostname = '0.0.0.0'; | ||
options.hostname = DEFAULT_HOSTNAME; | ||
options.port = 4321; | ||
@@ -147,3 +147,3 @@ return; | ||
.catch((e) => { throw new Error(`Timed out to connect to ${driver}: ${e.message}`); }); | ||
options.hostname = '0.0.0.0'; | ||
options.hostname = DEFAULT_HOSTNAME; | ||
options.port = port; | ||
@@ -150,0 +150,0 @@ log.info(`Started ${driver} in ${Date.now() - start}ms on port ${port}`); |
{ | ||
"name": "@wdio/utils", | ||
"version": "8.40.0", | ||
"version": "8.40.2", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -57,3 +57,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "9c3681f32fd96f81c9f1e07790edd76e6b40609a" | ||
"gitHead": "4cade71f6be0b8c53c48918b9a6da37a6ad21835" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165236