1

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

当我使用 Selenium PHP WebDriver 运行 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/2.7.STABLE4) 于 2013 年 7 月 5 日星期五 08:43:44 GMT 生成

如何让 Selenium 绕过 localhost 的代理?

4

0 回答 0