jeudi 2 janvier 2020

Testcafe takes about 2 minutes everytime to trigger the browser. What could be the fix here?

I have node 12.14.0, npm 6.13.4 and testcafe 1.7.1 in my Windows 10 PC.

I am trying to run a basic sample script using the command testcafe chrome test1.js:

import { Selector } from 'testcafe';

fixture `Getting Started`
    .page `http://devexpress.github.io/testcafe/example`;

test('My first test', async t => {
    // Test code
});

It takes about 2 minutes everytime for the browser to be triggered. The test runs fine after that though.

What could be causing this delay? I also tried running it through npm command and got the same result.

Aucun commentaire:

Enregistrer un commentaire