开发者

Need to modify HTTP headers to enable the Proxy Auth for Selenium 2.0

开发者 https://www.devze.com 2023-02-12 09:05 出处:网络
It requires to inject additional hea开发者_如何转开发der into the HTTP request to enable proxy auth. E.g.

It requires to inject additional hea开发者_如何转开发der into the HTTP request to enable proxy auth. E.g.

Proxy-Authorization: Basic dGVzdDp0ZXN0, where dGVzdDp0ZXN0 is base64 login and password.

In selenium RC there was such a possibility, but in Selenium 2.0 on RC emulation this does not work. Any ideas?

Thanks in advance.


I managed to do something similar according to the solution suggested in How to send an http RequestHeader using Selenium 2?

0

精彩评论

暂无评论...
验证码 换一张
取 消