{"action":"created","issue":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/1939","repository_url":"https://api.github.com/repos/DevExpress/testcafe","labels_url":"https://api.github.com/repos/DevExpress/testcafe/issues/1939/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/issues/1939/comments","events_url":"https://api.github.com/repos/DevExpress/testcafe/issues/1939/events","html_url":"https://github.com/DevExpress/testcafe/issues/1939","id":273028652,"node_id":"MDU6SXNzdWUyNzMwMjg2NTI=","number":1939,"title":"Unable to run browser, browser path or command template is not specified","user":{"login":"danielabar","id":2428282,"node_id":"MDQ6VXNlcjI0MjgyODI=","avatar_url":"https://avatars3.githubusercontent.com/u/2428282?v=4","gravatar_id":"","url":"https://api.github.com/users/danielabar","html_url":"https://github.com/danielabar","followers_url":"https://api.github.com/users/danielabar/followers","following_url":"https://api.github.com/users/danielabar/following{/other_user}","gists_url":"https://api.github.com/users/danielabar/gists{/gist_id}","starred_url":"https://api.github.com/users/danielabar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielabar/subscriptions","organizations_url":"https://api.github.com/users/danielabar/orgs","repos_url":"https://api.github.com/users/danielabar/repos","events_url":"https://api.github.com/users/danielabar/events{/privacy}","received_events_url":"https://api.github.com/users/danielabar/received_events","type":"User","site_admin":false},"labels":[{"id":243973471,"node_id":"MDU6TGFiZWwyNDM5NzM0NzE=","url":"https://api.github.com/repos/DevExpress/testcafe/labels/SYSTEM:%20browser%20natives","name":"SYSTEM: browser natives","color":"bfe5bf","default":false},{"id":201866359,"node_id":"MDU6TGFiZWwyMDE4NjYzNTk=","url":"https://api.github.com/repos/DevExpress/testcafe/labels/TYPE:%20bug","name":"TYPE: bug","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-10T19:03:26Z","updated_at":"2018-06-25T17:10:58Z","closed_at":"2017-11-15T17:38:27Z","author_association":"NONE","body":"### Are you requesting a feature or reporting a bug?\r\nReporting a bug.\r\n\r\n\r\n### What is the current behavior?\r\nFollowing [getting started](https://devexpress.github.io/testcafe/documentation/getting-started/) example. When trying to run `testcafe chrome test1.js`, getting error:\r\n\r\n```\r\nERROR Was unable to open the browser \"chrome:\" due to error.\r\n\r\nError: Unable to run the browser. The browser path or command template is not specified.\r\n    at checkBrowserPath$ (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/lib/api/open.js:47:23)\r\n    at tryCatch (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:72:40)\r\n    at Generator.invoke [as _invoke] (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:334:22)\r\n    at Generator.prototype.(anonymous function) [as next] (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:105:21)\r\n    at tryCatch (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:72:40)\r\n    at invoke (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:146:20)\r\n    at /Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:191:11\r\n    at Promise (<anonymous>)\r\n    at F (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/core-js/library/modules/$.export.js:30:36)\r\n    at callInvokeWithMethodAndArg (/Users/dbaron/.nvm/versions/node/v8.3.0/lib/node_modules/testcafe/node_modules/testcafe-browser-tools/node_modules/babel-runtime/regenerator/runtime.js:190:16)\r\n```\r\n\r\n\r\n### What is the expected behavior?\r\nTest should run and report displayed in console as described in [getting started viewing test results](https://devexpress.github.io/testcafe/documentation/getting-started/#viewing-the-test-results).\r\n\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\nFollow the steps in getting started guide.\r\n\r\n\r\n#### Provide the test code and the tested page URL (if applicable)\r\n\r\nTested page URL:\r\nhttp://devexpress.github.io/testcafe/example\r\nTest code\r\n\r\n```js\r\nimport { Selector } from 'testcafe';\r\n\r\nfixture `Getting Started`\r\n  .page `http://devexpress.github.io/testcafe/example`;\r\n\r\ntest('My first test', async t => {\r\n  // Test code\r\n});\r\n```\r\n\r\n### Specify your\r\n\r\n* operating system:\r\nOSX El Capitan 10.11.6\r\n* testcafe version:\r\n0.18.3\r\n* node.js version:\r\nnode 8.3.0\r\nnpm 5.3.0\r\nnvm 0.31.2"},"comment":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/comments/400026540","html_url":"https://github.com/DevExpress/testcafe/issues/1939#issuecomment-400026540","issue_url":"https://api.github.com/repos/DevExpress/testcafe/issues/1939","id":400026540,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDAyNjU0MA==","user":{"login":"webia1","id":2741558,"node_id":"MDQ6VXNlcjI3NDE1NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2741558?v=4","gravatar_id":"","url":"https://api.github.com/users/webia1","html_url":"https://github.com/webia1","followers_url":"https://api.github.com/users/webia1/followers","following_url":"https://api.github.com/users/webia1/following{/other_user}","gists_url":"https://api.github.com/users/webia1/gists{/gist_id}","starred_url":"https://api.github.com/users/webia1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webia1/subscriptions","organizations_url":"https://api.github.com/users/webia1/orgs","repos_url":"https://api.github.com/users/webia1/repos","events_url":"https://api.github.com/users/webia1/events{/privacy}","received_events_url":"https://api.github.com/users/webia1/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T17:10:58Z","updated_at":"2018-06-25T17:10:58Z","author_association":"NONE","body":"If you want to debug TestCafe on Windows within Visual Studio Code use the following launch configuration:\r\n\r\n```json\r\n{\r\n  \"version\": \"0.2.0\",\r\n  \"configurations\": [{\r\n    \"type\": \"node\",\r\n    \"protocol\": \"inspector\",\r\n    \"request\": \"launch\",\r\n    \"name\": \"Launch test files with TestCafe\",\r\n    \"program\": \"${workspaceRoot}/node_modules/testcafe/bin/testcafe.js\",\r\n    \"args\": [\r\n      \"chrome:c:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\",\r\n      \"${file}\",\r\n      \r\n    ],\r\n    \"cwd\": \"${workspaceRoot}\"\r\n  }]\r\n}\r\n```"}}
{"actor":{"display_login":"webia1"}}