Phantomjs 幻影访问网站并获得标题为“的页面”;欢迎使用“Zscaler目录验证”;
这是我的密码Phantomjs 幻影访问网站并获得标题为“的页面”;欢迎使用“Zscaler目录验证”;,phantomjs,Phantomjs,这是我的密码 var page = require('webpage').create(); page.open('http://github.com', function() { page.render('example.png'); }); 这是我得到的 ------------ Welcome To Zscaler Directory Authentication ------------ Authenticating user to the Web Security Servic
var page = require('webpage').create();
page.open('http://github.com', function() {
page.render('example.png');
});
这是我得到的
------------
Welcome To Zscaler Directory Authentication
------------
Authenticating user to the Web Security Service
有人知道如何解决这个问题吗?首先,您是否尝试过通过HTTPS获得它?我在您的示例中看到了http。第二,你知道为什么它导航到@AndreyBorisko,HTTPS不起作用,导航或重定向应该是我们网络的一项策略,即使是第一次使用web浏览器,我不确定在第一次身份验证成功后是否仍然需要重定向