How can I disable Java Script in Selenium\'s Chrome Driver using python
If you're using Nightwatch.js, the configuration you have to use is
var CHROME_CONFIGURATION = { browserName: 'chrome', "chromeOptions" : { "prefs" : { 'profile.managed_default_content_settings.javascript': 2 } } };