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
Php 如何使Selenium服务器不使用代理?_Php_Selenium_Proxy - Fatal编程技术网

Php 如何使Selenium服务器不使用代理?

Php 如何使Selenium服务器不使用代理?,php,selenium,proxy,Php,Selenium,Proxy,我正试图在CentOS上用PHPUnit运行Selenium。我以前做这件事很容易。这一次,我在一个流浪者的箱子里,在一个公司代理的后面,我遇到了麻烦 当我使用Selenium PHP Web驱动程序运行PHPUnit时,出现以下错误: Sorry, you are not currently allowed to request: http://localhost:4444/wd/hub/session from this cache until you have authenticated

我正试图在CentOS上用PHPUnit运行Selenium。我以前做这件事很容易。这一次,我在一个流浪者的箱子里,在一个公司代理的后面,我遇到了麻烦

当我使用Selenium PHP Web驱动程序运行PHPUnit时,出现以下错误:

Sorry, you are not currently allowed to request:
http://localhost:4444/wd/hub/session from this cache until you have
authenticated yourself.
ClientSiteProxy squid于2013年7月5日星期五08:43:44 GMT生成/2.7.STABLE4

如何使Selenium绕过本地主机的代理