By default, TestCafe launches browsers (Google Chrome and Mozilla Firefox so far) with a clean profile, i.e. without extensions, bookmarks and other profile settings. This was done to minimize the influence of profile parameters on test runs.
However, if you need to start a browser with the current user profile, you can do this by specifying the
:userProfile flag after the browser alias.
testcafe firefox:userProfile tests/test.js
runner .src('tests/fixture1.js') .browsers('firefox:userProfile') .run();
When you pass the
:userProfile flag to a portable browser, also use the browser alias. The
path: prefix does not work in this case.
testcafe chrome:d:\chrome_portable\chrome.exe:userProfile tests/test.js