1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anybody here into Selenium?

Discussion in 'General Programming Chat' started by IMShane, Mar 3, 2012.

  1. IMShane

    IMShane Junior Member

    Joined:
    Sep 20, 2011
    Messages:
    131
    Likes Received:
    23
    I'm trying to figure out how to setup private proxies such as "user:p[email protected]:8029"for Firefox Driver Profile, but had no luck searching around for the last several days. Anybody knows how to do it?
     
    Last edited: Mar 3, 2012
  2. proprietor

    proprietor Newbie

    Joined:
    Jan 15, 2012
    Messages:
    10
    Likes Received:
    0
    If you are behind an HTTP proxy that requires authentication, you would also need to set http.proxyUser and http.proxyPassword in addition to http.proxyHost and http.proxyPort.

    An example:
    java -jar selenium-server.jar -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=my_username -Dhttp.proxyPassword=my_password
     
  3. DirkPitt

    DirkPitt Newbie

    Joined:
    Feb 1, 2012
    Messages:
    11
    Likes Received:
    0
    I assume you are talking about using this with Selenium's webdriver.

    I'm trying to do the exact same thing and I haven't found a solution yet.

    I'm using webdriver with .net and c#

    If I find a solution, I'll let you know.

    Dirk