Current time: 03-04-2021, 08:33 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set proxy for wptdriver
03-02-2016, 04:32 PM (This post was last modified: 03-04-2016 08:00 PM by sally.)
Post: #1
How to set proxy for wptdriver
For firefox, I tried adding proxy in the prefs.js and it's working.

For Chrome, I tried adding the following parameter in the wptdriver.ini. But looks it's not working.
Here's the chrome options in wptdriver.ini.
exe="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --proxy-pac-url=""'

The config.pac looks like this:

function FindProxyForURL(url, host) {
if (host == ''){
return 'DIRECT';
return "PROXY";

Here's the screen when I remove "--no-proxy-server" and add the above proxy pac settings. Any idea? Please help. Thanks a lot.

Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 2 Guest(s)