Zuli
Zuli

Reputation: 21

ERROR Cannot find the browser. "chrome" is neither a known browser alias, nor a path to an executable file. Type "testcafe -h"

FROM node:14-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app

COPY . .

RUN npm install chromedriver RUN npm install

EXPOSE 80 EXPOSE 4444

CMD ["npm", "run", "test:register"]

Upvotes: 2

Views: 2584

Answers (1)

Larissa Ferreira
Larissa Ferreira

Reputation: 21

I had a similar problem. In my case, I was trying to run testcafe firefox:headless on bitbucket, and got this error. Later on I realised that I had 'chrome' listed as a browser on .testcaferc.json.

Upvotes: 2

Related Questions