Skip to content

Difficulties to setup proxy #232

Open
@Rostes

Description

@Rostes

Hi,

I try to setup a proxy with the following code.

$proxy = New-Object OpenQA.Selenium.Proxy
$proxy.HttpProxy = 'http://myproxy:22225'
$proxy.SocksProxy = 'http://myproxy:22225'
$proxy.SocksUserName = 'user'
$proxy.SocksPassword = 'pwd'

$firefoxOptions = New-Object OpenQA.Selenium.Firefox.FirefoxOptions 
$firefoxOptions.Proxy = $proxy

$Driver = Start-SeFirefox -Arguments $firefoxOptions

But when I open the Selenium browser window the proxy is still setup by default.

Any idea?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions