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 eb1125b commit 4543e05Copy full SHA for 4543e05
lib/helper/WebDriver.js
@@ -497,8 +497,9 @@ class WebDriver extends Helper {
497
if (config.host) {
498
// webdriverio spec
499
config.hostname = config.host;
500
- config.path = '/wd/hub';
+ config.path = config.path ? config.path : '/wd/hub';
501
}
502
+
503
config.baseUrl = config.url || config.baseUrl;
504
if (config.desiredCapabilities && Object.keys(config.desiredCapabilities).length) {
505
config.capabilities = config.desiredCapabilities;
0 commit comments