Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium Phantomjs-静默浏览器_Selenium_Phantomjs - Fatal编程技术网

Selenium Phantomjs-静默浏览器

Selenium Phantomjs-静默浏览器,selenium,phantomjs,Selenium,Phantomjs,我使用Phantomjs驱动程序来执行我的应用程序测试场景 在最近的更新中,他们为每台机器实现了单独的证书,因此,一旦我输入我的应用程序URL并按下enter_键,URL将重定向到内部服务器,我需要提供用户ID和密码才能登录 这个场景在chromedriver中运行得很好,但是当我使用phantomjs时,元素没有得到识别 我试图拍摄截图,但截图中只有空白图像。问题是。。。。如何识别重定向URL页面中的这些元素?哪些元素?请出示你的密码。

我使用Phantomjs驱动程序来执行我的应用程序测试场景

在最近的更新中,他们为每台机器实现了单独的证书,因此,一旦我输入我的应用程序URL并按下enter_键,URL将重定向到内部服务器,我需要提供用户ID和密码才能登录

这个场景在chromedriver中运行得很好,但是当我使用phantomjs时,元素没有得到识别


我试图拍摄截图,但截图中只有空白图像。

问题是。。。。如何识别重定向URL页面中的这些元素?哪些元素?请出示你的密码。