import { Selector } from 'testcafe' fixture 'CoffeeScript Example' .page 'https://devexpress.github.io/testcafe/example/' nameInput = Selector '#developer-name' test 'Test', (t) => await t .typeText(nameInput, 'Peter') .typeText(nameInput, 'Paker', { replace: true }) .typeText(nameInput, 'r', { caretPos: 2 }) .expect(nameInput.value).eql 'Parker'; You do not need to manually compile CoffeeScript tests. TestCafe does this