TestCafe (End-to-End Testing)

npm i testcafe
import { Selector } from 'testcafe';

fixture `My first test`
  .page `http://github.com/`;

test('Find "testcafe" repository on GitHub', async t => {
  await t
    .typeText('form[action="/search"] input[name="q"]', 'testcafe' )
    .pressKey('enter')
    .expect(Selector('.repo-list > li > div').innerText).eql('DevExpress/testcafe');
});
testcafe chrome test.js
Copyright © 2019 All rights reserved.
Powered by Kulfon.