TestProject Forum
Powered by leading experts in the test automation community

Firefox proxy setting

why the browser doesn’t set the proxy??


public static void main(Stringargs)throws Exception{
DriverSettings driverSettings = new DriverSettings(DriverType.Firefox);
WebDriver driver;

    FirefoxProfile profile = new FirefoxProfile();
    FirefoxOptions options = new FirefoxOptions();
    profile.setPreference("network.proxy.type", 4);
    profile.setPreference("network.proxy.http", "xxx.25.xxx.162");
    profile.setPreference("network.proxy.http_port", xxxx);


    try(Runner runner = new Runner(devToken, driverSettings)){

        ClickMenuLinks clickMenuLinks = new ClickMenuLinks();
      driver = runner.getDriver(clickMenuLinks);


//click all the hyper


Hello @karol.bed85
Which SDK Version are you using?

0.63.1 version sdk

I see, and is your code generated code from a recorded test?
Or code you wrote from scratch?

i wrote the code from scratch, i want to create an addon that will open url with such proxy

Hello @karol.bed85,
On what stage exactly are you facing the issue, is it while uploading the addon to our site?, or it’s uploading fine but the addon doesn’t do what you intend it to do, in this case opening the URL with proxy?

Intellij Idea url does not open when I run addon. I need to set a proxy in my browser. How do I set a proxy in a browser in code? Apparently in “addon” you can’t do that