Enable WebGL when running nighwatch.js/selenium framework on chrome Enable WebGL when running nighwatch.js/selenium framework on chrome selenium selenium

Enable WebGL when running nighwatch.js/selenium framework on chrome


Using these options makes it work!

"chromeOptions": { "args": ["user-data-dir=C:\\Users\\user_name\\AppData\\Local\\Google\\Chrome\\User Data", "--ignore-gpu-blacklist", "--use-gl", "--no-sandbox", "--disable-web-security"] },

(replace user_name with the proper value)