-
Notifications
You must be signed in to change notification settings - Fork 142
Browser Engines
Matthew Manela edited this page Jul 23, 2020
·
4 revisions
As of version 4.4, Chutzpah now lets you choose which browser engine to run your tests with.
Phantom This is the default but eventually will be replace with JsDom.
JSDom This is a virtual dom environment that enables fast tests but is not really a browser
Chrome This uses a instance of Chrome or Chromium found on the local machine. Chutzpah will try to find the browser on the box, but if it can't you should specific the location in EngineOptions.
Using JsDom
{
"Engine": "JSDom"
}
Using Chrome with custom path
{
"Engine": "Chrome",
"EngineOptions": {
"ChromeBrowserPath": "C:\\node_modules\\puppeteer\\.local-chromium\\win64-588429\\chrome-win32\\chrome.exe"
}
}