-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Ignore --proxy/--proxy-type when --webdriver #11619
Comments
Certainly sounds like a bug. |
The proxy settings work when specified via Selenium's desiredCapabilities: desiredCapabilities['proxy'] = {
proxyType: 'manual',
httpProxy: '10.0.0.1:8080', // Putting 'http://' on the front only works in PhantomJS 1.9.1 onward I think
httpsProxy: '10.0.0.1:8080', // Putting 'http://' on the front only works in PhantomJS 1.9.1 onward I think
} |
@simondean thanx for response! but its not working too
my proxy is working, but i got wrong result ip (first server's ip as result) phantomjs -v => 1.9.2 |
Setting the proxy with the PhantomJS |
Does the proxy settings through webdriver's desired capabilites work for anyone? Other browser accept it just fine, but only phantomjs must have the proxy defined as the CLI option, otherwise it is not using the proxy at all. |
@OndraM I'm running into the same problem. |
@OndraM +1. I did not found any solution |
After 3 years i found that '--config' trick works with http-proxy only, socks5 proxy not works in that way :( |
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
Hi! Phantomjs 1.9.1 ignore cli proxy settings (--proxy and --proxy-type) when in --webdriver mode. Is it a bug?
I override this by using --config file.
The text was updated successfully, but these errors were encountered: