{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/893","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/893/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/893/events","html_url":"https://github.com/webdriverio/webdriverio/issues/893","id":118289583,"number":893,"title":"webdriver.remote() doesn't merge all config options (and isn't documented)","user":{"login":"philipwalton","id":326742,"avatar_url":"https://avatars.githubusercontent.com/u/326742?v=3","gravatar_id":"","url":"https://api.github.com/users/philipwalton","html_url":"https://github.com/philipwalton","followers_url":"https://api.github.com/users/philipwalton/followers","following_url":"https://api.github.com/users/philipwalton/following{/other_user}","gists_url":"https://api.github.com/users/philipwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwalton/subscriptions","organizations_url":"https://api.github.com/users/philipwalton/orgs","repos_url":"https://api.github.com/users/philipwalton/repos","events_url":"https://api.github.com/users/philipwalton/events{/privacy}","received_events_url":"https://api.github.com/users/philipwalton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Question","name":"Question","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-22T21:29:14Z","updated_at":"2015-12-03T18:04:29Z","closed_at":null,"body":"I'm running a test via the `wdio` command, and my test fails with the following error:\r\n\r\n> Couldn't connect to selenium server\r\n\r\nThis happens when I call `webdriver.remote()` without passing any options (I'm assuming the options are supposed to be merged with the options defined in the config, and when I debug it, most of them are).\r\n\r\nIf I pass `user` and `key` to `remote()`, it works:\r\n\r\n```js\r\nvar client = webdriverio.remote({\r\n  user: process.env.SAUCE_USERNAME,\r\n  key: process.env.SAUCE_ACCESS_KEY\r\n});\r\n```\r\n\r\nI have these values defined in my config file, so it's not clear why I have to pass them again, unless this isn't intended behavior.\r\n\r\nAlso, it's not really clear what options can/should be passed to `remote()` because the function isn't documented anywhere (that I could find).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/161733958","html_url":"https://github.com/webdriverio/webdriverio/issues/893#issuecomment-161733958","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/893","id":161733958,"user":{"login":"christian-bromann","id":731337,"avatar_url":"https://avatars.githubusercontent.com/u/731337?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T18:04:29Z","updated_at":"2015-12-03T18:04:29Z","body":"I released v3.3.0 9 days ago with a fix for that. Isn't that working?"}}