@ParametersAreNonnullByDefault public class DefaultSelenideProxyServerFactory extends java.lang.Object implements SelenideProxyServerFactory
| Constructor and Description |
|---|
DefaultSelenideProxyServerFactory() |
| Modifier and Type | Method and Description |
|---|---|
SelenideProxyServer |
create(Config config,
org.openqa.selenium.Proxy userProvidedProxy)
Creates a
SelenideProxyServer
Allows user to change settings of BrowserUpProxy before the proxy is started. |
@Nonnull public SelenideProxyServer create(Config config, @Nullable org.openqa.selenium.Proxy userProvidedProxy)
SelenideProxyServerFactorySelenideProxyServer
Allows user to change settings of BrowserUpProxy before the proxy is started.
Allows user to change settings of Selenium proxy.
Must call SelenideProxyServer.start() to start proxy server.
Must call SelenideProxyServer.createSeleniumProxy() to create Selenium proxy server instance.
For implementation example see DefaultSelenideProxyServerFactorycreate in interface SelenideProxyServerFactoryconfig - - selenide configuserProvidedProxy - - additional proxy provided from userSelenideProxyServer instance