I'm trying to use casperjs to access creditkarma.com (which isn't blocked by the firewall). But I keep getting a 407 error and a page that says I need to provide a username and password, no form just an error. I tried http://username:password@example.com. I also tried --proxy with --proxy-auth I also tried sending headers.
casper.options.pageSettings = {
customHeaders:{
'Authorization':'Basic '+btoa('myUserName:myPassword')
}
}
The command is running through the windows command prompt so I also set HTTP_PROXY. I have spent a few hours on this and cannot seem to figure out why this won't work. Does anyone have other ideas I can try?