{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/737","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/737/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/737/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/737/events","html_url":"https://github.com/webdriverio/webdriverio/issues/737","id":102879211,"number":737,"title":"Add support for multiremote with just `wdio.conf.js`","user":{"login":"saulshanabrook","id":1186124,"avatar_url":"https://avatars.githubusercontent.com/u/1186124?v=3","gravatar_id":"","url":"https://api.github.com/users/saulshanabrook","html_url":"https://github.com/saulshanabrook","followers_url":"https://api.github.com/users/saulshanabrook/followers","following_url":"https://api.github.com/users/saulshanabrook/following{/other_user}","gists_url":"https://api.github.com/users/saulshanabrook/gists{/gist_id}","starred_url":"https://api.github.com/users/saulshanabrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulshanabrook/subscriptions","organizations_url":"https://api.github.com/users/saulshanabrook/orgs","repos_url":"https://api.github.com/users/saulshanabrook/repos","events_url":"https://api.github.com/users/saulshanabrook/events{/privacy}","received_events_url":"https://api.github.com/users/saulshanabrook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Discussion","name":"Discussion","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T20:01:18Z","updated_at":"2015-08-27T08:38:09Z","closed_at":"2015-08-27T08:33:57Z","body":"What do you think about adding the ability to use multiremote while still just using a `wdio.conf.js` file and the `wdio` command line tool, instead of importing `webdriverio` and then calling `webdriverio.multiremote(...)`.\r\n\r\nI ask because if you don't use the `wdio` command line tool then you lose the generator support added for Mocha (I could be totally wrong about this, but this is my hypothesis so far. Lemme know if this is false).\r\n\r\nI have gotten multiremote to work with the `wdio` CLI tool, but it is suboptimal, because you have to define the `capabilities` in the `wdio.conf.js` file in order to get it to run the test file, which calls `multiremote`. This means it sets up an extra browser testing instance that is not used by multiremote but is still provisioned and wasted. If this doesn't make sense, I can elaborate further. This approach is documented in #735.\r\n\r\nInstead I am hoping we could some sort of option in the configuration to enable multiremote there. If this was added and documented, it would close #735. I would be happy to work on it and create a PR for it, if we agreed on the API first. "},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/135341479","html_url":"https://github.com/webdriverio/webdriverio/issues/737#issuecomment-135341479","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/737","id":135341479,"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-08-27T08:38:09Z","updated_at":"2015-08-27T08:38:09Z","body":"just recognised that I marked the issue as \"discussion\" and closed it immediately after responding to it. Sorry! If you feel like it make sense I can reopen it again. But just the fact that multiremote commands return two results makes it impossible to have the same tests for remote and multiremote tests."}}