“ERROR Unable to find the browser. “saucelabs:Chrome@83.0:Windows10” is not a browser alias or path to an executable file

Viewed 300

I am trying to run my UI test using testcafe and saucelabs. I am facing this above error. Currently I am using testcafe v1.8.3 and testcafe-browser-provider-saucelabs v1.7.0

I have tried changing versions of browser provider also but still facing the above error. Pls help out with a solution for this as i am stuck with it for more than a week

2 Answers

It looks like your provider is installed locally, while you are using the global TestCafe installation. You also need to install TestCafe locally or both packages globally. After this, check your browser provider: testcafe -b saucelabs.

I am using testcafe v1.8.3 and testcafe-browser-provider-saucelabs v1.7.0

Please update your testcafe and testcafe-browser-provider-saucelabs versions to the latest ones.

Related