Error: Unable to find the browser. “browserstack:Chrome@68.0:Windows 10” is not a browser alias or path...
I have been having some issues in running some JavaScript tests via TestCafe. The project I have set up uses a BDD style and it invokes the TestCafe test runner to run the tests. I have integrated them using browserstack however, I am having when I run it from Jenkins. I keep getting this error and unable to resolve the issue as it's not even reaching BS servers.
I am able to run successfully from my local
Error log
[BrowserStack] BROWSERSTACK_USERNAME=natarajankrishna1
[BrowserStack] BROWSERSTACK_ACCESS_KEY=********************
[BrowserStack] BROWSERSTACK_BUILD=jenkins-H_QA_SPRINT_FEATURETESTS-363
[BrowserStack] BROWSERSTACK_LOCAL=true
[BrowserStack] BROWSERSTACK_LOCAL_IDENTIFIER=2abd3c29-8371-45c7-b28d-44fd7820fcd4-H_QA_SPRINT_FEATURETESTS__363
[31mF[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[31mF[39m[32m.[39m{ Error: Unable to find the browser. "browserstack:Chrome@68.0:Windows 10" is not a browser alias or path to an executable file.
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/testcafe/src/browser/provider/pool.js:107:19
at Generator.next (<anonymous>)
at step (/opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous> constructor: [Function: GeneralError] }
jenkins automated-tests cucumberjs browserstack testcafe
add a comment |
I have been having some issues in running some JavaScript tests via TestCafe. The project I have set up uses a BDD style and it invokes the TestCafe test runner to run the tests. I have integrated them using browserstack however, I am having when I run it from Jenkins. I keep getting this error and unable to resolve the issue as it's not even reaching BS servers.
I am able to run successfully from my local
Error log
[BrowserStack] BROWSERSTACK_USERNAME=natarajankrishna1
[BrowserStack] BROWSERSTACK_ACCESS_KEY=********************
[BrowserStack] BROWSERSTACK_BUILD=jenkins-H_QA_SPRINT_FEATURETESTS-363
[BrowserStack] BROWSERSTACK_LOCAL=true
[BrowserStack] BROWSERSTACK_LOCAL_IDENTIFIER=2abd3c29-8371-45c7-b28d-44fd7820fcd4-H_QA_SPRINT_FEATURETESTS__363
[31mF[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[31mF[39m[32m.[39m{ Error: Unable to find the browser. "browserstack:Chrome@68.0:Windows 10" is not a browser alias or path to an executable file.
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/testcafe/src/browser/provider/pool.js:107:19
at Generator.next (<anonymous>)
at step (/opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous> constructor: [Function: GeneralError] }
jenkins automated-tests cucumberjs browserstack testcafe
The error suggests that packagetestcafe-browser-provider-browserstack
is missing in your CD environment
– ioseph
Nov 22 '18 at 23:44
Please try to run thetestcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check iftestcafe
andtestcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command:npm i testcafe
andnpm i testcafe-browser-provider-browserstack
ornpm i -g testcafe
andnpm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38
add a comment |
I have been having some issues in running some JavaScript tests via TestCafe. The project I have set up uses a BDD style and it invokes the TestCafe test runner to run the tests. I have integrated them using browserstack however, I am having when I run it from Jenkins. I keep getting this error and unable to resolve the issue as it's not even reaching BS servers.
I am able to run successfully from my local
Error log
[BrowserStack] BROWSERSTACK_USERNAME=natarajankrishna1
[BrowserStack] BROWSERSTACK_ACCESS_KEY=********************
[BrowserStack] BROWSERSTACK_BUILD=jenkins-H_QA_SPRINT_FEATURETESTS-363
[BrowserStack] BROWSERSTACK_LOCAL=true
[BrowserStack] BROWSERSTACK_LOCAL_IDENTIFIER=2abd3c29-8371-45c7-b28d-44fd7820fcd4-H_QA_SPRINT_FEATURETESTS__363
[31mF[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[31mF[39m[32m.[39m{ Error: Unable to find the browser. "browserstack:Chrome@68.0:Windows 10" is not a browser alias or path to an executable file.
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/testcafe/src/browser/provider/pool.js:107:19
at Generator.next (<anonymous>)
at step (/opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous> constructor: [Function: GeneralError] }
jenkins automated-tests cucumberjs browserstack testcafe
I have been having some issues in running some JavaScript tests via TestCafe. The project I have set up uses a BDD style and it invokes the TestCafe test runner to run the tests. I have integrated them using browserstack however, I am having when I run it from Jenkins. I keep getting this error and unable to resolve the issue as it's not even reaching BS servers.
I am able to run successfully from my local
Error log
[BrowserStack] BROWSERSTACK_USERNAME=natarajankrishna1
[BrowserStack] BROWSERSTACK_ACCESS_KEY=********************
[BrowserStack] BROWSERSTACK_BUILD=jenkins-H_QA_SPRINT_FEATURETESTS-363
[BrowserStack] BROWSERSTACK_LOCAL=true
[BrowserStack] BROWSERSTACK_LOCAL_IDENTIFIER=2abd3c29-8371-45c7-b28d-44fd7820fcd4-H_QA_SPRINT_FEATURETESTS__363
[31mF[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[36m-[39m[31mF[39m[32m.[39m{ Error: Unable to find the browser. "browserstack:Chrome@68.0:Windows 10" is not a browser alias or path to an executable file.
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/testcafe/src/browser/provider/pool.js:107:19
at Generator.next (<anonymous>)
at step (/opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /opt/jenkins2/jobs/H_QA_SPRINT_FEATURETESTS/workspace/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous> constructor: [Function: GeneralError] }
jenkins automated-tests cucumberjs browserstack testcafe
jenkins automated-tests cucumberjs browserstack testcafe
edited Nov 28 '18 at 6:32
Alex Skorkin
2,1371532
2,1371532
asked Nov 21 '18 at 18:31
user758759user758759
63
63
The error suggests that packagetestcafe-browser-provider-browserstack
is missing in your CD environment
– ioseph
Nov 22 '18 at 23:44
Please try to run thetestcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check iftestcafe
andtestcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command:npm i testcafe
andnpm i testcafe-browser-provider-browserstack
ornpm i -g testcafe
andnpm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38
add a comment |
The error suggests that packagetestcafe-browser-provider-browserstack
is missing in your CD environment
– ioseph
Nov 22 '18 at 23:44
Please try to run thetestcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check iftestcafe
andtestcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command:npm i testcafe
andnpm i testcafe-browser-provider-browserstack
ornpm i -g testcafe
andnpm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38
The error suggests that package
testcafe-browser-provider-browserstack
is missing in your CD environment– ioseph
Nov 22 '18 at 23:44
The error suggests that package
testcafe-browser-provider-browserstack
is missing in your CD environment– ioseph
Nov 22 '18 at 23:44
Please try to run the
testcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check if testcafe
and testcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command: npm i testcafe
and npm i testcafe-browser-provider-browserstack
or npm i -g testcafe
and npm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38
Please try to run the
testcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check if testcafe
and testcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command: npm i testcafe
and npm i testcafe-browser-provider-browserstack
or npm i -g testcafe
and npm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38
add a comment |
1 Answer
1
active
oldest
votes
According to the author's tweet he has managed to resolve the issue.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53418460%2ferror-unable-to-find-the-browser-browserstackchrome68-0windows-10-is-not%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
According to the author's tweet he has managed to resolve the issue.
add a comment |
According to the author's tweet he has managed to resolve the issue.
add a comment |
According to the author's tweet he has managed to resolve the issue.
According to the author's tweet he has managed to resolve the issue.
answered Dec 3 '18 at 14:00
Alex SkorkinAlex Skorkin
2,1371532
2,1371532
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53418460%2ferror-unable-to-find-the-browser-browserstackchrome68-0windows-10-is-not%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The error suggests that package
testcafe-browser-provider-browserstack
is missing in your CD environment– ioseph
Nov 22 '18 at 23:44
Please try to run the
testcafe -b browserstack
command with your testing environment. You should see the list of all browser configurations available on the Browserstack. If you see an error, please check iftestcafe
andtestcafe-browser-provider-browserstack
are installed both globally or both locally. I mean that both modules should be installed via the same command:npm i testcafe
andnpm i testcafe-browser-provider-browserstack
ornpm i -g testcafe
andnpm i -g testcafe-browser-provider-browserstack
– Alex Kamaev
Nov 23 '18 at 13:38