I'm using nightwatch.js, selenoid and chrome driver. I want browser to go to any url, that is not local e.g. browser.url('http://google.com')
. But chrome driver doesn't proceed this request, however if I use https, everything works fine. I've tried to add flag, but it didn't work for me.
desiredCapabilities: {
networkConnectionEnabled: true,
browserName: 'chrome',
version: 'latest',
...
acceptSslCerts: false,
acceptInsecureCerts: true,
args: ['--disable-web-security', '--allow-running-insecure-content', '--allow-external-pages', '--allow-http-background-page'],
'goog:chromeOptions': {
args: ['--disable-web-security', '--allow-running-insecure-content', '--allow-external-pages', '--allow-http-background-page'],
},
chrome: {
args: ['--disable-web-security', '--allow-running-insecure-content', '--allow-external-pages', '--allow-http-background-page'],
},
},